mirror of
https://github.com/lingble/chatwoot.git
synced 2025-12-24 22:57:15 +00:00
Move src to dashboard (#152)
This commit is contained in:
14
app/javascript/dashboard/components/widgets/BackButton.vue
Normal file
14
app/javascript/dashboard/components/widgets/BackButton.vue
Normal file
@@ -0,0 +1,14 @@
|
||||
<template>
|
||||
<span class="back-button ion-ios-arrow-left" @click.capture="goBack">Back</span>
|
||||
</template>
|
||||
<script>
|
||||
import router from '../../routes/index';
|
||||
|
||||
export default {
|
||||
methods: {
|
||||
goBack() {
|
||||
router.go(-1);
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user