Merge pull request #3781 from crazyserver/MOBILE-4212

MOBILE-4212 assign: Do not show edit submission warning if cannot edit
main
Dani Palou 2023-09-07 17:10:34 +02:00 committed by GitHub
commit 92615be7c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<core-loading [hideUntil]="loaded">
<div class="list-item-limited-width">
<!-- Time limit is over. -->
<ion-card *ngIf="timeLimitFinished" class="core-danger-card">
<ion-card *ngIf="timeLimitFinished && (canEdit || canSubmit)" class="core-danger-card">
<ion-item class="ion-text-wrap">
<ion-icon name="fas-triangle-exclamation" slot="start" aria-hidden="true"></ion-icon>
<ion-label>