mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-1743] extension settings (#1399)
* upgrade tslib * initial settings skeleton * migrate language picker setting * support string parameters * remove process extensions workaround * update extensions schema * update docs * unit tests * fix unit test
This commit is contained in:
@@ -30,7 +30,6 @@ import * as repository from './repository.rules';
|
||||
export interface AcaRuleContext extends RuleContext {
|
||||
languagePicker: boolean;
|
||||
withCredentials: boolean;
|
||||
processServices: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -554,5 +553,5 @@ export function canShowLogout(context: AcaRuleContext): boolean {
|
||||
* @param context Rule execution context
|
||||
*/
|
||||
export function canShowProcessServices(context: AcaRuleContext): boolean {
|
||||
return context.processServices;
|
||||
return localStorage && localStorage.getItem('processServices') === 'true';
|
||||
}
|
||||
|
Reference in New Issue
Block a user