mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
chore(web): remove unnused property (#10820)
This commit is contained in:
parent
4a481acca6
commit
04f0ac1aad
14 changed files with 3 additions and 26 deletions
|
|
@ -6,7 +6,6 @@ type DialogActions = {
|
|||
};
|
||||
|
||||
type DialogOptions = {
|
||||
id?: string;
|
||||
title?: string;
|
||||
prompt?: string;
|
||||
confirmText?: string;
|
||||
|
|
@ -22,7 +21,7 @@ function createDialogWrapper() {
|
|||
const dialog = writable<Dialog | undefined>();
|
||||
|
||||
async function show(options: DialogOptions) {
|
||||
return new Promise((resolve) => {
|
||||
return new Promise<boolean>((resolve) => {
|
||||
const newDialog: Dialog = {
|
||||
...options,
|
||||
onConfirm: () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue