smart toggle for excluded files
This commit is contained in:
parent
c9d793948a
commit
1b99b6c499
@ -7,6 +7,7 @@
|
||||
|
||||
.annotation-wrapper {
|
||||
display: flex;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
border-bottom: 1px solid variables.$separator;
|
||||
|
||||
|
||||
@ -440,10 +440,15 @@ export class FilePreviewScreenComponent extends AutoUnsubscribe implements OnIni
|
||||
this.editingReviewer = false;
|
||||
|
||||
switch (action) {
|
||||
case 'enable-analysis':
|
||||
case 'disable-analysis':
|
||||
this._loadingService.start();
|
||||
// the trigger will disable it later
|
||||
break;
|
||||
|
||||
case 'delete':
|
||||
return this.dossiersService.goToActiveDossier();
|
||||
|
||||
case 'enable-analysis':
|
||||
case 'reanalyse':
|
||||
await this._loadFileData(true);
|
||||
this._updateCanPerformActions();
|
||||
|
||||
@ -79,7 +79,7 @@ export class DictionaryService extends EntitiesService<Dictionary, IDictionary>
|
||||
* Creates entry type with colors, hint and caseInsensitive
|
||||
*/
|
||||
@Validate()
|
||||
addType(@RequiredParam() body: ITypeValue, @RequiredParam() dossierId?: string) {
|
||||
addType(@RequiredParam() body: ITypeValue, dossierId?: string) {
|
||||
const queryParams = dossierId ? [{ key: 'dossierId', value: dossierId }] : undefined;
|
||||
return this._post(body, `${this._defaultModelPath}/type`, queryParams);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user