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"
|
||||||
|
? html`<ak-outpost-deployment-modal .outpost=${item} size=${PFSize.Medium}>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-tertiary">
|
<button slot="trigger" class="pf-c-button pf-m-tertiary">
|
||||||
${t`View Deployment Info`}
|
${t`View Deployment Info`}
|
||||||
</button>
|
</button>
|
||||||
</ak-outpost-deployment-modal>`,
|
</ak-outpost-deployment-modal>`
|
||||||
|
: html``}`,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue