fix: always show title for revision previews
This commit is contained in:
@@ -16,13 +16,14 @@
|
||||
a.sk-a.info.close-button(
|
||||
ng-click="ctrl.dismiss(); $event.stopPropagation()"
|
||||
) Close
|
||||
.sk-panel-content.selectable(ng-if="!ctrl.state.editor")
|
||||
.sk-panel-content.selectable
|
||||
.sk-h2 {{ctrl.content.title}}
|
||||
p.normal.sk-p(
|
||||
style="white-space: pre-wrap; font-size: 16px;"
|
||||
) {{ctrl.content.text}}
|
||||
component-view.component-view(
|
||||
ng-if="ctrl.state.editor",
|
||||
template-component="ctrl.state.editor",
|
||||
application='ctrl.application'
|
||||
)
|
||||
ng-if="!ctrl.state.editor"
|
||||
) {{ctrl.content.text}}
|
||||
component-view.component-view(
|
||||
ng-if="ctrl.state.editor",
|
||||
template-component="ctrl.state.editor",
|
||||
application='ctrl.application'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user