From e63c80e5c4ee936109dfd4d167816407d5a526ec Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Tue, 13 Jun 2023 15:04:19 +0200 Subject: [PATCH] storage: Remove gaps in dialogs --- pkg/storaged/crypto-keyslots.jsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkg/storaged/crypto-keyslots.jsx b/pkg/storaged/crypto-keyslots.jsx index ca9fd1954dff..7fe5f6d3df2c 100644 --- a/pkg/storaged/crypto-keyslots.jsx +++ b/pkg/storaged/crypto-keyslots.jsx @@ -37,7 +37,7 @@ import { check_missing_packages, install_missing_packages, Enum as PkEnum } from import { dialog_open, - SelectOneRadio, TextInput, PassInput, Skip + SelectOneRadio, TextInput, PassInput } from "./dialog.jsx"; import { decode_filename, encode_filename, block_name, for_each_async, get_children } from "./utils.js"; import { fmt_to_fragments } from "utils.jsx"; @@ -197,7 +197,6 @@ function passphrase_test(block, passphrase) { export function existing_passphrase_fields(explanation) { return [ - Skip("medskip", { visible: vals => vals.needs_explicit_passphrase }), PassInput("passphrase", _("Disk passphrase"), { visible: vals => vals.needs_explicit_passphrase, @@ -510,7 +509,6 @@ function add_dialog(client, block) { { value: "tang", title: _("Tang keyserver") } ] }), - Skip("medskip"), PassInput("new_passphrase", _("New passphrase"), { visible: vals => !client.features.clevis || vals.type == "luks-passphrase", @@ -560,7 +558,6 @@ function edit_passphrase_dialog(block, key) { Fields: [ PassInput("old_passphrase", _("Old passphrase"), { validate: val => !val.length && _("Passphrase cannot be empty") }), - Skip("medskip"), PassInput("new_passphrase", _("New passphrase"), { validate: val => !val.length && _("Passphrase cannot be empty"),