(fix) lint issues
This commit is contained in:
parent
5d4e987a4d
commit
d583d2cafd
|
@ -55,7 +55,7 @@
|
||||||
<MkInstanceTicker v-if="showTicker" class="ticker" :instance="appearNote.user.instance"/>
|
<MkInstanceTicker v-if="showTicker" class="ticker" :instance="appearNote.user.instance"/>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="embed" class="instance-info">
|
<div v-if="embed" class="instance-info">
|
||||||
<button class="_button" v-click-anime @click="openInstanceMenu">
|
<button v-click-anime class="_button" @click="openInstanceMenu">
|
||||||
<img :src="instance.iconUrl ?? instance.faviconUrl ?? '/favicon.ico'" alt="" class="icon"/>
|
<img :src="instance.iconUrl ?? instance.faviconUrl ?? '/favicon.ico'" alt="" class="icon"/>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -112,7 +112,7 @@
|
||||||
<MkA v-if="appearNote.myReaction != null" class="button _button reacted" :to="notePage(appearNote)">
|
<MkA v-if="appearNote.myReaction != null" class="button _button reacted" :to="notePage(appearNote)">
|
||||||
<i class="ti ti-minus"></i>
|
<i class="ti ti-minus"></i>
|
||||||
</MkA>
|
</MkA>
|
||||||
<MkA v-if="defaultStore.state.showClipButtonInNoteFooter" class="button _button" :to="notePage(appearNote)">
|
<MkA v-if="defaultStore.state.showClipButtonInNoteFooter" class="button _button" :to="notePage(appearNote)">
|
||||||
<i class="ti ti-paperclip"></i>
|
<i class="ti ti-paperclip"></i>
|
||||||
</MkA>
|
</MkA>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -213,7 +213,7 @@ export function getNoteMenu(props: {
|
||||||
|
|
||||||
function copyEmbedCode(): void {
|
function copyEmbedCode(): void {
|
||||||
console.log(getEmbedCode({ entityType: 'notes', id: appearNote.id }));
|
console.log(getEmbedCode({ entityType: 'notes', id: appearNote.id }));
|
||||||
copyToClipboard(getEmbedCode({entityType: 'notes', id: appearNote.id}));
|
copyToClipboard(getEmbedCode({ entityType: 'notes', id: appearNote.id }));
|
||||||
os.success();
|
os.success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ import { mainRouter } from '@/router';
|
||||||
import { PageMetadata, provideMetadataReceiver } from '@/scripts/page-metadata';
|
import { PageMetadata, provideMetadataReceiver } from '@/scripts/page-metadata';
|
||||||
import { instanceName } from '@/config';
|
import { instanceName } from '@/config';
|
||||||
import { popups } from '@/os';
|
import { popups } from '@/os';
|
||||||
import 'iframe-resizer/js/iframeResizer.contentWindow'
|
import 'iframe-resizer/js/iframeResizer.contentWindow';
|
||||||
|
|
||||||
let pageMetadata = $ref<null | ComputedRef<PageMetadata>>();
|
let pageMetadata = $ref<null | ComputedRef<PageMetadata>>();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue