fixed default filter
This commit is contained in:
parent
dd343bbef3
commit
cd21d490d0
@ -30,10 +30,10 @@ export class FiltersService {
|
|||||||
if (availableAnnotationTypes.has(key)) {
|
if (availableAnnotationTypes.has(key)) {
|
||||||
const typeValue = dictionaryData[key];
|
const typeValue = dictionaryData[key];
|
||||||
if (typeValue.hint === true) {
|
if (typeValue.hint === true) {
|
||||||
filtersCopy.hint[key] = false;
|
filtersCopy.hint[key] = typeValue.defaultFilter;
|
||||||
}
|
}
|
||||||
if (typeValue.hint === false) {
|
if (typeValue.hint === false) {
|
||||||
filtersCopy.redaction[key] = false;
|
filtersCopy.redaction[key] = typeValue.defaultFilter;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -32,4 +32,6 @@ export interface TypeValue {
|
|||||||
*/
|
*/
|
||||||
type?: string;
|
type?: string;
|
||||||
isDefaultFilter?: boolean;
|
isDefaultFilter?: boolean;
|
||||||
|
virtual?: boolean;
|
||||||
|
label?: string;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user