web/admin: use <pre> for order field on bound elements (#7031)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
4a9b9a2d14
commit
86939937cf
|
@ -73,7 +73,7 @@ export class BoundStagesList extends Table<FlowStageBinding> {
|
||||||
|
|
||||||
row(item: FlowStageBinding): TemplateResult[] {
|
row(item: FlowStageBinding): TemplateResult[] {
|
||||||
return [
|
return [
|
||||||
html`${item.order}`,
|
html`<pre>${item.order}</pre>`,
|
||||||
html`${item.stageObj?.name}`,
|
html`${item.stageObj?.name}`,
|
||||||
html`${item.stageObj?.verboseName}`,
|
html`${item.stageObj?.verboseName}`,
|
||||||
html` <ak-forms-modal>
|
html` <ak-forms-modal>
|
||||||
|
|
|
@ -145,7 +145,7 @@ export class BoundPoliciesList extends Table<PolicyBinding> {
|
||||||
|
|
||||||
row(item: PolicyBinding): TemplateResult[] {
|
row(item: PolicyBinding): TemplateResult[] {
|
||||||
return [
|
return [
|
||||||
html`${item.order}`,
|
html`<pre>${item.order}</pre>`,
|
||||||
html`${this.getPolicyUserGroupRow(item)}`,
|
html`${this.getPolicyUserGroupRow(item)}`,
|
||||||
html` <ak-label color=${item.enabled ? PFColor.Green : PFColor.Orange}>
|
html` <ak-label color=${item.enabled ? PFColor.Green : PFColor.Orange}>
|
||||||
${item.enabled ? msg("Yes") : msg("No")}
|
${item.enabled ? msg("Yes") : msg("No")}
|
||||||
|
|
Reference in a new issue