mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-07-28 17:54:36 +02:00
Update OverlayPanel.vue
This commit is contained in:
@@ -31,8 +31,9 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, defineAsyncComponent, nextTick, onMounted, onUnmounted, ref, shallowRef, useTemplateRef, watch } from 'vue';
|
||||
import { deviceKind } from '@/utility/device-kind.js';
|
||||
|
||||
const isMobile = true;
|
||||
const isMobile = deviceKind === 'smartphone' || deviceKind === 'tablet';
|
||||
|
||||
const props = defineProps<{
|
||||
title: string;
|
||||
|
||||
Reference in New Issue
Block a user