mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-09-28 19:35:41 +00:00
Small fixes
This commit is contained in:
@@ -41,7 +41,7 @@ public class StoreCreationComp extends ModalOverlayContentComp {
|
||||
var built = new OptionsBuilder()
|
||||
.name(nameKey + "Name")
|
||||
.description(nameKey + "NameDescription")
|
||||
.addString(model.getName(), false)
|
||||
.addString(model.getName())
|
||||
.nonNull()
|
||||
.check(val -> Validator.create(val, AppI18n.observable("readOnlyStoreError"), model.getName(), s -> {
|
||||
var same = s != null
|
||||
|
||||
@@ -312,11 +312,7 @@ public class OptionsBuilder {
|
||||
}
|
||||
|
||||
public OptionsBuilder addString(Property<String> prop) {
|
||||
return addString(prop, false);
|
||||
}
|
||||
|
||||
public OptionsBuilder addString(Property<String> prop, boolean lazy) {
|
||||
var comp = new TextFieldComp(prop, lazy);
|
||||
var comp = new TextFieldComp(prop, false);
|
||||
pushComp(comp);
|
||||
props.add(prop);
|
||||
return this;
|
||||
|
||||
@@ -44,6 +44,8 @@ public class AbstractHostStoreProvider implements DataStoreProvider {
|
||||
Property<String> host = new SimpleObjectProperty<>(st.getHost());
|
||||
|
||||
return new OptionsBuilder()
|
||||
.nameAndDescription("abstractHostAddress")
|
||||
.addString(host)
|
||||
.bind(
|
||||
() -> {
|
||||
return AbstractHostStore.builder()
|
||||
|
||||
Generated
+2
@@ -1663,5 +1663,7 @@ vncRefSystem=Associated system
|
||||
vncRefSystemDescription=The connection entry to associate this VNC connection with. Leave empty if there is none
|
||||
abstractHost.displayName=Abstract host
|
||||
abstractHost.displayDescription=Create an entry for a host that does not support shell connections
|
||||
abstractHostAddress=Host address
|
||||
abstractHostAddressDescription=The address of the host
|
||||
largeFileWarningTitle=Large file edit
|
||||
largeFileWarningContent=The file you want to edit is quite large with $SIZE$. Do you really want to open this file in your text editor?
|
||||
|
||||
Reference in New Issue
Block a user