web/admin: only show outpost deployment info when not embedded
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
d1a1bfbbc5
commit
0452537e8b
|
@ -103,11 +103,13 @@ export class OutpostListPage extends TablePage<Outpost> {
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
</button>
|
</button>
|
||||||
</ak-forms-modal>
|
</ak-forms-modal>
|
||||||
<ak-outpost-deployment-modal .outpost=${item} size=${PFSize.Medium}>
|
${item.managed !== "goauthentik.io/outposts/embedded"
|
||||||
<button slot="trigger" class="pf-c-button pf-m-tertiary">
|
? html`<ak-outpost-deployment-modal .outpost=${item} size=${PFSize.Medium}>
|
||||||
${t`View Deployment Info`}
|
<button slot="trigger" class="pf-c-button pf-m-tertiary">
|
||||||
</button>
|
${t`View Deployment Info`}
|
||||||
</ak-outpost-deployment-modal>`,
|
</button>
|
||||||
|
</ak-outpost-deployment-modal>`
|
||||||
|
: html``}`,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue