Skip to content

Commit

Permalink
Make Edit Mode on by default (#1813)
Browse files Browse the repository at this point in the history
* auto enable edit mode for first time admin logins

* update to make "admin" mode default, if you haven't turned it off.

* removed unused field
  • Loading branch information
kieckhafer authored and mikemurray committed Feb 11, 2017
1 parent d8e8860 commit 787b32a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/modules/core/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export default {
},

isPreview() {
const viewAs = this.getUserPreferences("reaction-dashboard", "viewAs", "customer");
const viewAs = this.getUserPreferences("reaction-dashboard", "viewAs", "administrator");

if (viewAs === "customer") {
return true;
Expand Down

0 comments on commit 787b32a

Please sign in to comment.