Skip to content

Commit 2b1dee7

Browse files
authored
Update readme.md
1 parent 8c38468 commit 2b1dee7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,15 +181,15 @@ this.$store.commit('setBreadcrumbs',[
181181
]);
182182

183183
// showing a snackbar
184-
self.$store.commit('showSnackbar',{
184+
this.$store.commit('showSnackbar',{
185185
duration: 3000, // duration in milliseconds, defaults to 3000
186186
message: 'You message here.',
187187
color: 'success', // values can be success,error,info,warning
188188
});
189189

190190
// showing & hiding the global loader
191-
store.commit('showLoader');
192-
store.commit('hideLoader');
191+
this.$store.commit('showLoader');
192+
this.$store.commit('hideLoader');
193193
```
194194

195195
<h3 id="contributing">Contributing</h3>

0 commit comments

Comments
 (0)