Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
wilburpowery committed Dec 16, 2017
1 parent 531d2cd commit 9776680
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -59443,7 +59443,7 @@ Vue.prototype.goBack = function () {
__WEBPACK_IMPORTED_MODULE_3__router__["a" /* default */].go(-1);
};

Vue.prototype.isAdmin = window.App.user.is_admin;
Vue.prototype.isAdmin = window.App.user ? window.App.user.is_admin : false;


Vue.prototype.Alert = __WEBPACK_IMPORTED_MODULE_9__utilities__["a" /* Alert */];
Expand Down
2 changes: 1 addition & 1 deletion resources/assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Vue.prototype.goBack = () => {
router.go(-1);
};

Vue.prototype.isAdmin = window.App.user.is_admin;
Vue.prototype.isAdmin = window.App.user ? window.App.user.is_admin : false;

import {Alert} from './utilities';
Vue.prototype.Alert = Alert;
Expand Down

0 comments on commit 9776680

Please sign in to comment.