Skip to content
Snippets Groups Projects

FIX: Searchs not working with #

Merged des20 requested to merge FixHashSearch into Develop
4 files
+ 299
296
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -31,7 +31,8 @@ const AdminTemplate = (props) => {
let canUserEdit = false;
if (state.userIsLoggedIn) {
const roles = [...state.currentUser.roles];
canUserEdit = true;
const roles = [...state.currentUser.roles];
for (let i = 0; i < roles.length; i++)
if (roles[i].name === 'admin' || roles[i].name === 'editor')
canUserEdit = true;
Loading