Made thread note refs deep again
ci/woodpecker/push/ociImagePush Pipeline is running Details

This commit is contained in:
Natty 2024-02-28 03:30:53 +01:00
parent 8d9415b3ab
commit 7c2909bceb
Signed by: natty
GPG Key ID: BF6CB659ADEE60EC
1 changed files with 4 additions and 5 deletions

View File

@ -179,7 +179,6 @@ import {
magReactionToLegacy, magReactionToLegacy,
resolveNote, resolveNote,
} from "@/scripts-mag/mag-util"; } from "@/scripts-mag/mag-util";
import { shallowRef } from "@vue/runtime-core";
const props = defineProps<{ const props = defineProps<{
note: packed.PackNoteMaybeFull; note: packed.PackNoteMaybeFull;
@ -216,10 +215,10 @@ const muted = ref(
); );
const translation = ref(null); const translation = ref(null);
const translating = ref(false); const translating = ref(false);
let conversation = shallowRef<packed.PackNoteMaybeFull[]>([]); let conversation = ref<packed.PackNoteMaybeFull[]>([]);
const replies = shallowRef<packed.PackNoteMaybeFull[]>([]); const replies = ref<packed.PackNoteMaybeFull[]>([]);
let directReplies = shallowRef<packed.PackNoteMaybeFull[] | null>(null); let directReplies = ref<packed.PackNoteMaybeFull[] | null>(null);
let directQuotes = shallowRef<packed.PackNoteMaybeFull[] | null>(null); let directQuotes = ref<packed.PackNoteMaybeFull[] | null>(null);
let clips = ref<misskey.entities.Clip[]>([]); let clips = ref<misskey.entities.Clip[]>([]);
let renotes = ref<misskey.entities.Note[] | null>(); let renotes = ref<misskey.entities.Note[] | null>();
let isScrolling; let isScrolling;