Updated CustomToast.vue to composition api & typescript.
This commit is contained in:
parent
723ace4dc2
commit
9cc0514464
@ -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>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user