mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-08 23:15:24 +02:00
Cleanup
This commit is contained in:
parent
7d32423d8e
commit
c1544d73c0
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue