Update use-uploader.ts

This commit is contained in:
syuilo 2025-11-03 20:34:46 +09:00
parent 6becc489dc
commit 5d4a00f164
1 changed files with 4 additions and 3 deletions

View File

@ -369,11 +369,12 @@ export function useUploader(options: {
closed: () => dispose(),
});
},
}, {
type: 'button',
}, ...(item.imageFrameParams != null ? [{
type: 'button' as const,
icon: 'ti ti-x',
text: i18n.ts.remove,
action: () => change(null),
}, {
}] : []), {
type: 'divider',
}, ...prefer.s.imageFramePresets.map(preset => ({
type: 'button' as const,