Remove toast messages on route change
parent
65bf317eb0
commit
18b9541991
|
@ -28,6 +28,7 @@ export default {
|
|||
watch: {
|
||||
$route() {
|
||||
this.sidebarActive = false;
|
||||
this.$toast.removeAllGroups();
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
|
||||
<h3>Programmatic</h3>
|
||||
<div style="padding: .5em 0">
|
||||
<p-button icon="pi pi-chevron-left" @click="prev" class="p-button-secondary" />
|
||||
<p-button icon="pi pi-chevron-right" @click="next" style="margin-left: .5em" class="p-button-secondary"/>
|
||||
<Button icon="pi pi-chevron-left" @click="prev" class="p-button-secondary" />
|
||||
<Button icon="pi pi-chevron-right" @click="next" style="margin-left: .5em" class="p-button-secondary"/>
|
||||
</div>
|
||||
|
||||
<TabView>
|
||||
|
|
Loading…
Reference in New Issue