Remove unnecessary return from computed
After I get a response from dakkar regarding the reactivity that's supposed to be present here I'll hopefully be able to remove these entirely
This commit is contained in:
parent
74d36a50fe
commit
d216f0313b
1 changed files with 2 additions and 2 deletions
|
|
@ -70,8 +70,8 @@ const props = defineProps<{
|
|||
module: Misskey.entities.DriveFile
|
||||
}>();
|
||||
|
||||
const isSensitive = computed(() => { return props.module.isSensitive; });
|
||||
const url = computed(() => { return props.module.url; });
|
||||
const isSensitive = computed(() => props.module.isSensitive);
|
||||
const url = computed(() => props.module.url);
|
||||
let hide = ref((defaultStore.state.nsfw === 'force') ? true : isSensitive.value && (defaultStore.state.nsfw !== 'ignore'));
|
||||
let patternHide = ref(false);
|
||||
let playing = ref(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue