(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"/>
|
||||
</div>
|
||||
<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"/>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -112,7 +112,7 @@
|
|||
<MkA v-if="appearNote.myReaction != null" class="button _button reacted" :to="notePage(appearNote)">
|
||||
<i class="ti ti-minus"></i>
|
||||
</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>
|
||||
</MkA>
|
||||
</template>
|
||||
|
|
|
@ -26,4 +26,4 @@ export function getEmbedCode(props: {
|
|||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -213,7 +213,7 @@ export function getNoteMenu(props: {
|
|||
|
||||
function copyEmbedCode(): void {
|
||||
console.log(getEmbedCode({ entityType: 'notes', id: appearNote.id }));
|
||||
copyToClipboard(getEmbedCode({entityType: 'notes', id: appearNote.id}));
|
||||
copyToClipboard(getEmbedCode({ entityType: 'notes', id: appearNote.id }));
|
||||
os.success();
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ import { mainRouter } from '@/router';
|
|||
import { PageMetadata, provideMetadataReceiver } from '@/scripts/page-metadata';
|
||||
import { instanceName } from '@/config';
|
||||
import { popups } from '@/os';
|
||||
import 'iframe-resizer/js/iframeResizer.contentWindow'
|
||||
import 'iframe-resizer/js/iframeResizer.contentWindow';
|
||||
|
||||
let pageMetadata = $ref<null | ComputedRef<PageMetadata>>();
|
||||
|
||||
|
|
Loading…
Reference in New Issue