1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 21:29:42 +02:00

All new space permission managament

Using ember-toggle add-on.
This commit is contained in:
sauls8t 2018-06-27 18:56:03 +01:00
parent 13deb55cbb
commit d5be8ec843
11 changed files with 231 additions and 152 deletions

View file

@ -41,7 +41,7 @@ export default Component.extend(TooltipMixin, {
onSavePage(page, meta) {
let constants = this.get('constants');
if (this.get('document.protection') === constants.ProtectionType.Review) {
if (this.get('document.protection') === constants.ProtectionType.Review) {
if (this.get('page.status') === constants.ChangeState.Published) {
page.set('relativeId', this.get('page.id'));
}