mirror of
https://github.com/haexhub/haex-hub.git
synced 2025-12-17 06:30:50 +01:00
zwischenstand
This commit is contained in:
@ -5,6 +5,8 @@
|
||||
v-bind="extension"
|
||||
:key="extension.id"
|
||||
/>
|
||||
<UiButton @click="requesty()">Storage Request</UiButton>
|
||||
res: {{ res }}
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -13,5 +15,17 @@ definePageMeta({
|
||||
name: 'vaultOverview',
|
||||
})
|
||||
|
||||
const storage = useAndroidStorage()
|
||||
const extensionStore = useExtensionsStore()
|
||||
|
||||
const res = ref()
|
||||
|
||||
const requesty = async () => {
|
||||
try {
|
||||
res.value = await storage.requestStoragePermission()
|
||||
res.value += ' wat the fuk'
|
||||
} catch (error) {
|
||||
res.value = error
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user