mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 10:20:27 +01:00
fix
This commit is contained in:
parent
32ee4d8c7a
commit
de93d68c54
2 changed files with 7 additions and 9 deletions
|
@ -635,12 +635,11 @@ function getMenu() {
|
|||
type: 'switch',
|
||||
text: i18n.ts.keepOriginalUploading,
|
||||
ref: keepOriginal,
|
||||
}, ...($i?.policies.canUseWatermark ? [{
|
||||
}, {
|
||||
type: 'switch',
|
||||
text: i18n.ts.useWatermark,
|
||||
ref: useWatermark,
|
||||
}] as MenuItem[] : []
|
||||
), { type: 'divider' }, {
|
||||
}, { type: 'divider' }, {
|
||||
text: i18n.ts.addFile,
|
||||
type: 'label',
|
||||
}, {
|
||||
|
|
|
@ -94,12 +94,11 @@ function select(src: HTMLElement | EventTarget | null, label: string | null, mul
|
|||
type: 'switch',
|
||||
text: i18n.ts.keepOriginalUploading,
|
||||
ref: keepOriginal,
|
||||
}, ...($i?.policies.canUseWatermark ? [{
|
||||
type: 'switch',
|
||||
text: i18n.ts.useWatermark,
|
||||
ref: useWatermark,
|
||||
}] as MenuItem[] : []
|
||||
), {
|
||||
}, {
|
||||
type: 'switch',
|
||||
text: i18n.ts.useWatermark,
|
||||
ref: useWatermark,
|
||||
}, {
|
||||
text: i18n.ts.upload,
|
||||
icon: 'ti ti-upload',
|
||||
action: () => chooseFileFromPc(multiple, keepOriginal.value, useWatermark.value).then(files => res(files)),
|
||||
|
|
Loading…
Reference in a new issue