Skip to content

Commit

Permalink
if the project is archvied -> variants archive stat can not be edited…
Browse files Browse the repository at this point in the history
…. => write control doesn't allow changes
  • Loading branch information
aiAdrian committed Aug 27, 2024
1 parent 9bdf885 commit 4b6c5e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/view/variant/variants-view/variants-view.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ export class VariantsViewComponent implements OnDestroy {
}

getVariantDataActions(variant: VariantSummaryDto): Observable<SlotAction[]> {
if (this.project.isArchived) {
return undefined;
}

if (variant.isArchived) {
return of([
{
Expand Down

0 comments on commit 4b6c5e5

Please sign in to comment.