fix: dropdown settings buttons | fix: improve model selector

I should have split this into two commits, but I found the issue with the
settings buttons *after* I changed how the model selector worked, so its
all in this single commit.
This commit is contained in:
Zoe
2026-02-25 16:12:51 +00:00
parent f6dc4c1ee9
commit 62f1fe1c27
8 changed files with 157 additions and 104 deletions
+5
View File
@@ -26,6 +26,10 @@ export const useDialog = () => {
actionCallback = cb;
};
const setOptions = (options: DialogOptions) => {
data.value = options;
};
const confirm = (result: any) => {
open.value = false;
if (actionCallback === undefined) return;
@@ -47,6 +51,7 @@ export const useDialog = () => {
page: readonly(page),
data: readonly(data),
openDialog,
setOptions,
confirm,
close,
};