From c1544d73c0dc09e1415c845ac90386f040a5edf5 Mon Sep 17 00:00:00 2001 From: Zach Gollwitzer Date: Thu, 15 May 2025 07:55:47 -0400 Subject: [PATCH] Cleanup --- app/components/tabs_controller.js | 2 +- db/migrate/20250512171654_update_sync_timestamps.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/tabs_controller.js b/app/components/tabs_controller.js index 4fc5cf22..259765aa 100644 --- a/app/components/tabs_controller.js +++ b/app/components/tabs_controller.js @@ -3,7 +3,7 @@ import { Controller } from "@hotwired/stimulus"; // Connects to data-controller="tabs--components" export default class extends Controller { static classes = ["navBtnActive", "navBtnInactive"]; - static targets = ["panel", "navBtn", "persistSelectionForm", "selectionInput"]; + static targets = ["panel", "navBtn"]; static values = { sessionKey: String, urlParamKey: String }; show(e) { diff --git a/db/migrate/20250512171654_update_sync_timestamps.rb b/db/migrate/20250512171654_update_sync_timestamps.rb index 81c1658f..ac0830b6 100644 --- a/db/migrate/20250512171654_update_sync_timestamps.rb +++ b/db/migrate/20250512171654_update_sync_timestamps.rb @@ -48,7 +48,7 @@ class UpdateSyncTimestamps < ActiveRecord::Migration[7.2] execute <<-SQL UPDATE syncs SET - last_ran_at = completed_at + last_ran_at = COALESCE(completed_at, failed_at) SQL execute <<-SQL