remove mistake
Some checks failed
Lint / pnpm_install (pull_request) Successful in 2m9s
Test (production install and build) / production (22.x) (pull_request) Successful in 2m22s
Test (frontend) / vitest (22.x) (pull_request) Successful in 2m52s
Lint / typecheck (misskey-js) (pull_request) Successful in 31s
Lint / lint (backend) (pull_request) Successful in 59s
Lint / lint (sw) (pull_request) Successful in 49s
Lint / lint (misskey-js) (pull_request) Successful in 1m32s
Lint / typecheck (backend) (pull_request) Successful in 1m22s
Lint / lint (frontend) (pull_request) Failing after 8m7s
Some checks failed
Lint / pnpm_install (pull_request) Successful in 2m9s
Test (production install and build) / production (22.x) (pull_request) Successful in 2m22s
Test (frontend) / vitest (22.x) (pull_request) Successful in 2m52s
Lint / typecheck (misskey-js) (pull_request) Successful in 31s
Lint / lint (backend) (pull_request) Successful in 59s
Lint / lint (sw) (pull_request) Successful in 49s
Lint / lint (misskey-js) (pull_request) Successful in 1m32s
Lint / typecheck (backend) (pull_request) Successful in 1m22s
Lint / lint (frontend) (pull_request) Failing after 8m7s
This commit is contained in:
parent
e4a581c297
commit
78adbebb18
1 changed files with 1 additions and 8 deletions
|
@ -30,7 +30,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import {onMounted, ref} from 'vue';
|
||||
import { ref } from 'vue';
|
||||
import * as Misskey from 'misskey-js';
|
||||
import MkMediaList from '@/components/MkMediaList.vue';
|
||||
import MkPoll from '@/components/MkPoll.vue';
|
||||
|
@ -44,13 +44,6 @@ const props = defineProps<{
|
|||
const isLong = shouldCollapsed(props.note, []);
|
||||
|
||||
const collapsed = ref(isLong);
|
||||
|
||||
onMounted(() => {
|
||||
props.note.files.forEach((file) => {
|
||||
file.isSensitive = props.note.cw !== null;
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" module>
|
||||
|
|
Loading…
Reference in a new issue