mirror of
https://github.com/koloml/philomena-tagging-assistant.git
synced 2026-11-08 00:18:19 +00:00
Added Tag Presets, popup editor for them, implemented presets image edit
This commit is contained in:
1 parent
6c2ef795b3
commit
74866949bb
24 files changed
+720
-8
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import { type Writable, writable } from "svelte/store";
|
||||
import TagEditorPreset from "$entities/TagEditorPreset";
|
||||
|
||||
export const tagEditorPresets: Writable<TagEditorPreset[]> = writable([]);
|
||||
|
||||
TagEditorPreset
|
||||
.readAll()
|
||||
.then(presets => tagEditorPresets.set(presets))
|
||||
.then(() => {
|
||||
TagEditorPreset.subscribe(presets => tagEditorPresets.set(presets))
|
||||
});
|
||||
Reference in new issue
Block a user