Update use-uploader.ts
This commit is contained in:
parent
6becc489dc
commit
5d4a00f164
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue