Updated CustomToast.vue to composition api & typescript.

This commit is contained in:
Joep 2023-10-07 14:01:57 +02:00
parent 723ace4dc2
commit 9cc0514464
No known key found for this signature in database
GPG Key ID: 6F5588F1DC2A8209

View File

@ -7,17 +7,15 @@
</div> </div>
</template> </template>
<script> <script setup lang="ts">
export default { defineProps<{
name: "error-toast", message: string;
props: ["message", "reportText", "isReport"], reportText: string;
methods: { isReport: boolean;
clicked() { }>();
window.open(
"https://github.com/filebrowser/filebrowser/issues/new/choose" const clicked = () => {
); window.open("https://github.com/filebrowser/filebrowser/issues/new/choose");
},
},
}; };
</script> </script>