Skip to content

Commit

Permalink
Hide history buttons in new entry dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed Feb 4, 2025
1 parent 244e7f1 commit 876e72f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/viewer/src/lib/entry-editor/NewEntryDialog.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import EntryEditor from './object-editors/EntryEditor.svelte';
import OverrideFields from '$lib/OverrideFields.svelte';
import {useWritingSystemService} from '$lib/writing-system-service';
import {initFeatures} from '$lib/services/feature-service';
let open = false;
let loading = false;
Expand Down Expand Up @@ -66,6 +67,8 @@
}
entry = defaultEntry();
}
initFeatures({ write: true }); // hide history buttons
</script>

<Dialog bind:open on:close={onClosing} {loading} persistent={loading}>
Expand Down

0 comments on commit 876e72f

Please sign in to comment.