Skip to content

Commit 24fc861

Browse files
committed
fix: commit is not being sent when only settings or layout change
1 parent 5801e5f commit 24fc861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/(app)/config/EditActions.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
);
5454
const settingChanges = $overlay.settings.size;
5555
const chordChanges = $overlay.chords.size;
56-
const needsCommit = settingChanges > 0 && layoutChanges > 0;
56+
const needsCommit = settingChanges > 0 || layoutChanges > 0;
5757
const progressMax = layoutChanges + settingChanges + chordChanges;
5858
5959
let progressCurrent = 0;

0 commit comments

Comments
 (0)