|
@ -240,10 +240,13 @@ export class UserService { |
|
|
|
|
|
|
|
|
// Reset benchmark
|
|
|
// Reset benchmark
|
|
|
user.Settings.settings.benchmark = undefined; |
|
|
user.Settings.settings.benchmark = undefined; |
|
|
} |
|
|
} else if (user.subscription?.type === 'Premium') { |
|
|
|
|
|
|
|
|
if (user.subscription?.type === 'Premium') { |
|
|
|
|
|
currentPermissions.push(permissions.reportDataGlitch); |
|
|
currentPermissions.push(permissions.reportDataGlitch); |
|
|
|
|
|
|
|
|
|
|
|
currentPermissions = without( |
|
|
|
|
|
currentPermissions, |
|
|
|
|
|
permissions.deleteOwnUser |
|
|
|
|
|
); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|