mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-28 03:40:25 +01:00
fix
This commit is contained in:
parent
2a0253f079
commit
34a590629d
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ function select(src: HTMLElement | EventTarget | null, opts?: {
|
||||||
return new Promise((res, rej) => {
|
return new Promise((res, rej) => {
|
||||||
const keepOriginal = ref(defaultStore.state.keepOriginalUploading);
|
const keepOriginal = ref(defaultStore.state.keepOriginalUploading);
|
||||||
|
|
||||||
const watermarkCanApply = canApplyWatermark(defaultStore.reactiveState.watermarkConfig.value);
|
const watermarkCanApply = canApplyWatermark(defaultStore.state.watermarkConfig);
|
||||||
const useWatermark = ref(opts?.dontUseWatermark || !watermarkCanApply ? false : defaultStore.state.useWatermark);
|
const useWatermark = ref(opts?.dontUseWatermark || !watermarkCanApply ? false : defaultStore.state.useWatermark);
|
||||||
|
|
||||||
const menu: MenuItem[] = [];
|
const menu: MenuItem[] = [];
|
||||||
|
|
Loading…
Reference in a new issue