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