|
@ -27,18 +27,18 @@ |
|
|
</mat-form-field> |
|
|
</mat-form-field> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
@if (accessForm.get('type').value === 'PRIVATE') { |
|
|
|
|
|
<div> |
|
|
<div> |
|
|
<mat-form-field appearance="outline" class="w-100"> |
|
|
<mat-form-field appearance="outline" class="w-100"> |
|
|
<mat-label i18n>Permission</mat-label> |
|
|
<mat-label i18n>Permission</mat-label> |
|
|
<mat-select formControlName="permissions"> |
|
|
<mat-select formControlName="permissions"> |
|
|
<mat-option i18n value="READ_RESTRICTED" |
|
|
<mat-option i18n value="READ_RESTRICTED">Restricted view</mat-option> |
|
|
>Restricted view</mat-option |
|
|
@if (accessForm.get('type').value === 'PRIVATE') { |
|
|
> |
|
|
|
|
|
<mat-option i18n value="READ">View</mat-option> |
|
|
<mat-option i18n value="READ">View</mat-option> |
|
|
|
|
|
} |
|
|
</mat-select> |
|
|
</mat-select> |
|
|
</mat-form-field> |
|
|
</mat-form-field> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
@if (accessForm.get('type').value === 'PRIVATE') { |
|
|
<div> |
|
|
<div> |
|
|
<mat-form-field appearance="outline" class="w-100"> |
|
|
<mat-form-field appearance="outline" class="w-100"> |
|
|
<mat-label> |
|
|
<mat-label> |
|
|