Skip to content

Commit

Permalink
Minor changes with new Vuetify version.
Browse files Browse the repository at this point in the history
  • Loading branch information
RakhithaRR committed Mar 3, 2018
1 parent 47eb98a commit 7f79541
Show file tree
Hide file tree
Showing 3 changed files with 190 additions and 176 deletions.
108 changes: 56 additions & 52 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion Client/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@
</v-btn>
</v-toolbar-items>
</v-toolbar>
<v-snackbar
:timeout="5000"
:top="true"
v-model="snackbar"
>
{{ text }}
<v-btn flat color="teal" @click.native="snackbar = false">Close</v-btn>
</v-snackbar>

<main>
<router-view></router-view>
Expand All @@ -76,7 +84,9 @@
data() {
return {
title: "Millennium Planning",
sideNav: false
sideNav: false,
snackbar: false,
text: ''
}
},
Expand All @@ -93,6 +103,8 @@
if (localStorage.getItem("user")) {
var user = JSON.parse(localStorage.getItem('user'));
this.snackbar = true;
this.text = "Signed in as " + user.Name;
console.log(user);
if (user.Type === "Admin") {
toolbarItems = [
Expand Down
Loading

0 comments on commit 7f79541

Please sign in to comment.