web: Expose debug info, fix view on mobile.
This commit is contained in:
16
web/src/components/DebugInfo.ts
Normal file
16
web/src/components/DebugInfo.ts
Normal file
@ -0,0 +1,16 @@
|
||||
import { defineComponent, ref } from 'vue';
|
||||
|
||||
import EyeClosedIcon from '@/components/svg/EyeClosedIcon.vue';
|
||||
import EyeOpenIcon from '@/components/svg/EyeOpenIcon.vue';
|
||||
import VERSION from '@/version-info';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'DebugInfo',
|
||||
components: { EyeOpenIcon, EyeClosedIcon },
|
||||
setup: function DebugInfo() {
|
||||
const showDebugInfo = ref(false);
|
||||
const version = ref(VERSION);
|
||||
|
||||
return { showDebugInfo, version };
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user