Skip to content

Commit

Permalink
storage: Remove gaps in dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
mvollmer committed Jun 20, 2023
1 parent 0009e8e commit e63c80e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/storaged/crypto-keyslots.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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"),
Expand Down

0 comments on commit e63c80e

Please sign in to comment.