projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
15159: Hide "open in new tab" if unsafe and TrustAllContent is false
[arvados-workbench2.git]
/
src
/
common
/
config.ts
diff --git
a/src/common/config.ts
b/src/common/config.ts
index 28d4855b47ea7f51c5f702d026fb86edaeb258dd..56f7c4884b19542ee057b937b5ff420809477a9e 100644
(file)
--- a/
src/common/config.ts
+++ b/
src/common/config.ts
@@
-89,7
+89,8
@@
export interface ClusterConfigJSON {
Value: string,
Protected?: boolean,
}
- }
+ },
+ TrustAllContent: boolean
};
Volumes: {
[key: string]: {
@@
-271,6
+272,7
@@
export const mockClusterConfigJSON = (config: Partial<ClusterConfigJSON>): Clust
},
Collections: {
ForwardSlashNameSubstitution: "",
+ TrustAllContent: false,
},
Volumes: {},
...config