mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-18 22:40:07 +00:00
Clean up hidden check
This commit is contained in:
parent
33387b303c
commit
2305eb9e97
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ const props = defineProps<{
|
||||||
const isSensitive = computed(() => { return props.flashFile.isSensitive; });
|
const isSensitive = computed(() => { return props.flashFile.isSensitive; });
|
||||||
const url = computed(() => { return props.flashFile.url; });
|
const url = computed(() => { return props.flashFile.url; });
|
||||||
const comment = computed(() => { return props.flashFile.comment ?? ''; });
|
const comment = computed(() => { return props.flashFile.comment ?? ''; });
|
||||||
let hide = ref((defaultStore.state.nsfw === 'force') ? true : isSensitive.value && (defaultStore.state.nsfw !== 'ignore'));
|
let hide = ref((defaultStore.state.nsfw === 'force') || isSensitive.value && (defaultStore.state.nsfw !== 'ignore'));
|
||||||
let playerHide = ref(true);
|
let playerHide = ref(true);
|
||||||
let ruffleContainer = ref<HTMLDivElement>();
|
let ruffleContainer = ref<HTMLDivElement>();
|
||||||
let playPauseButtonKey = ref<number>(0);
|
let playPauseButtonKey = ref<number>(0);
|
||||||
|
|
Loading…
Reference in a new issue