17 lines
376 B
Vue
17 lines
376 B
Vue
<script lang="ts" setup>
|
|
import { onMounted } from 'vue';
|
|
import { useSessionStore } from '../stores/session';
|
|
|
|
onMounted(() => {
|
|
useSessionStore().setTitle("Admin");
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<h1>Danger Zone</h1>
|
|
<div class="budget-item">
|
|
<button>Clear database</button>
|
|
<p>This removes all data and starts from scratch. Not undoable!</p>
|
|
</div>
|
|
</template>
|