1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-19 00:15:43 +01:00

fix: remove debug log state

This commit is contained in:
Ivar Conradi Østhus 2022-01-11 12:55:26 +01:00
parent ee0e728e67
commit 861218dbbc
No known key found for this signature in database
GPG Key ID: 31AC596886B0BD09

View File

@ -131,7 +131,6 @@ export class AccessStore implements IAccessStore {
// Since the editor should have access to the default project,
// we map the project to the project and environment specific
// permissions that are connected to the editor role.
console.log('before', row);
if (
row.role_id === EDITOR_ROLE_ID &&
row.type !== ROOT_PERMISSION_TYPE
@ -151,7 +150,6 @@ export class AccessStore implements IAccessStore {
environment,
permission: row.permission,
};
console.log('after:', result);
return result;
}