Skip to content

Commit 7209dc2

Browse files
authored
SF-3569 Fix Draft Format alignment when the user cannot edit the chapter (#3468)
1 parent 6c3aa27 commit 7209dc2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/SIL.XForge.Scripture/ClientApp/src/app/translate/editor/editor-draft/editor-draft.component.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,13 @@
8383
}
8484
</button>
8585
</span>
86-
} @else {
87-
<app-notice icon="warning" type="warning" mode="fill-dark">
88-
{{ "editor_draft_tab.cannot_import" | transloco }}
89-
</app-notice>
9086
}
9187
</div>
88+
@if (!canApplyDraft) {
89+
<app-notice icon="warning" type="warning" mode="fill-dark">
90+
{{ "editor_draft_tab.cannot_import" | transloco }}
91+
</app-notice>
92+
}
9293
</div>
9394
}
9495
} @else {

0 commit comments

Comments
 (0)