Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperJMN committed Nov 22, 2023
1 parent 1f993af commit e1f27e0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ public class SeaweedFSPlugin : IPlugin

public IConfiguration CreateConfig(IConnectionsRepository connectionsRepository)
{
return new SeaweedConfigurationViewModel(Guid.NewGuid(), "SeaweedFS", connectionsRepository);
return new SeaweedConfigurationViewModel(Guid.NewGuid(), "SeaweedFS", connectionsRepository)
{
Address = "http://"
};
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using ReactiveUI.Fody.Helpers;
using ReactiveUI.Validation.Extensions;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</Button>
</Panel>
<Button DockPanel.Dock="Bottom" Command="{Binding CurrentConfiguration.Save}" Margin="10" HorizontalAlignment="Right" Content="Save" />
<ContentControl Content="{Binding CurrentConfiguration}" />
<ContentControl Padding="8" Content="{Binding CurrentConfiguration}" />
</DockPanel>

</UserControl>

0 comments on commit e1f27e0

Please sign in to comment.