Skip to content

Commit

Permalink
hotfix: removed permissions tab from buckets [WTEL-4533]
Browse files Browse the repository at this point in the history
  • Loading branch information
dlohvinov committed May 21, 2024
1 parent 639f55e commit e4c5997
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ export default {
value: 'general',
},
];
if (this.id) tabs.push(this.permissionsTab);
return tabs;
},
Expand Down
8 changes: 0 additions & 8 deletions src/modules/lookups/modules/buckets/store/buckets.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import ObjectStoreModule
from '../../../../../app/store/BaseStoreModules/StoreModules/ObjectStoreModule';
import PermissionsStoreModule
from '../../../../../app/store/BaseStoreModules/StoreModules/PermissionsStoreModule/PermissionsStoreModule';
import BucketsAPI from '../api/buckets';
import headers from './_internals/headers';

Expand All @@ -12,15 +10,9 @@ const resettableState = {
},
};

const PERMISSIONS_API_URL = '/call_center/buckets';
const permissions = new PermissionsStoreModule()
.generateAPIActions(PERMISSIONS_API_URL)
.getModule();

const buckets = new ObjectStoreModule({ resettableState, headers })
.attachAPIModule(BucketsAPI)
.generateAPIActions()
.setChildModules({ permissions })
.getModule();

export default buckets;

0 comments on commit e4c5997

Please sign in to comment.