From 1f1b99fc8886e1c9f1dbcdc1399f11de3dac6d20 Mon Sep 17 00:00:00 2001 From: Salem Yaslem Date: Fri, 19 May 2023 00:07:04 +0300 Subject: [PATCH] add select field for mobile --- app.vue | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/app.vue b/app.vue index 50ee2c6..fbb54bc 100644 --- a/app.vue +++ b/app.vue @@ -3,12 +3,14 @@ import { Archive } from 'libarchive.js/main.js'; import { CompressedFile } from 'libarchive.js/src/compressed-file'; import { getElementInfo } from "moveable"; import { VueSelecto } from "vue3-selecto"; +import { useDisplay } from 'vuetify/lib/framework.mjs'; Archive.init({ workerUrl: '/worker-bundle.js', }); -let drawer = ref(true); +let display = useDisplay(); +let drawer = ref(!display.xs.value); let files = ref([]); let filesList = ref([]); @@ -136,7 +138,7 @@ function onSelectEnd(e: any) { Uncompressed File - +