Skip to content

Commit 9e8e007

Browse files
committed
impl: hide configurable fallback if signature verification is disabled
The main plugin screen has a quick shortcut for setting whether the user wants to fallback on releases.coder.com for signatures if they are not provided by the main deployment. This checkbox should not be visible if the user wants to disable signature verification altogether.
1 parent 11245b6 commit 9e8e007

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/coder/gateway/views/steps/CoderWorkspacesStepView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ class CoderWorkspacesStepView :
306306
CoderGatewayBundle.message("gateway.connector.settings.fallback-on-coder-for-signatures.comment"),
307307
)
308308

309-
}.layout(RowLayout.PARENT_GRID)
309+
}.visible(state.disableSignatureVerification.not()).layout(RowLayout.PARENT_GRID)
310310
row {
311311
scrollCell(
312312
toolbar.createPanel().apply {

0 commit comments

Comments
 (0)