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