Skip to content

Commit 1501639

Browse files
josephmyersNateowami
authored andcommitted
Fix Draft Format alignment when the user cannot edit the chapter
Putting the notice banner on its own line is the sensible solution here.
1 parent 6c3aa27 commit 1501639

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)