projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
User Management Dashboard:
[osm/UI.git]
/
skyquake
/
plugins
/
user_management
/
src
/
dashboard
/
userMgmtStore.js
diff --git
a/skyquake/plugins/user_management/src/dashboard/userMgmtStore.js
b/skyquake/plugins/user_management/src/dashboard/userMgmtStore.js
index
9654b4a
..
b68c72c
100644
(file)
--- a/
skyquake/plugins/user_management/src/dashboard/userMgmtStore.js
+++ b/
skyquake/plugins/user_management/src/dashboard/userMgmtStore.js
@@
-29,7
+29,9
@@
export default class UserManagementStore {
this.isReadOnly = true;
this.userOpen = false;
this.hideColumns = false;
this.isReadOnly = true;
this.userOpen = false;
this.hideColumns = false;
+ //There is probably a better way of handling the view/edit/readonly matrix conditions for some of these inputs. Should definitely revist
this.isEdit = false;
this.isEdit = false;
+ this.isEditUser = false;
// this.exportPublicMethods({})
}
/**
// this.exportPublicMethods({})
}
/**
@@
-84,6
+86,7
@@
export default class UserManagementStore {
}
editUser(isEdit) {
this.setState({
}
editUser(isEdit) {
this.setState({
+ isEditUser: !isEdit,
isReadOnly: isEdit
})
}
isReadOnly: isEdit
})
}