Skip to content

Commit

Permalink
refactor: remove conditional rendering for fee selection feature
Browse files Browse the repository at this point in the history
  • Loading branch information
markettes committed Jun 15, 2023
1 parent e700100 commit 77b371a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/Helpers/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public class Constants
public static readonly bool ENABLE_REMOTE_SIGNER;
public static readonly bool PUSH_NOTIFICATIONS_ONESIGNAL_ENABLED;
public static readonly bool ENABLE_HW_SUPPORT;
public static readonly bool FEE_SELECTION_ENABLED = true; // Incomplete feature, remove this line when it's ready

// Connections
public static readonly string POSTGRES_CONNECTIONSTRING = "Host=localhost;Port=5432;Database=fundsmanager;Username=rw_dev;Password=rw_dev";
Expand Down
3 changes: 0 additions & 3 deletions src/Pages/ChannelRequests.razor
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@
}
</EditTemplate>
</DataGridColumn>
@if (Constants.FEE_SELECTION_ENABLED)
{
<DataGridColumn TItem="ChannelOperationRequest" Displayable="true" Editable="true" Caption="Fees" PopupFieldColumnSize="ColumnSize.Is12">
<EditTemplate>
<div class="d-flex">
Expand All @@ -178,7 +176,6 @@
</div>
</EditTemplate>
</DataGridColumn>
}
<DataGridColumn TItem="ChannelOperationRequest" Field="@nameof(ChannelOperationRequest.IsChannelPrivate)" Caption="Private" Displayable="true" Editable="true">
<EditTemplate>
<Check TValue="bool" @bind-Checked="_selectedPrivate"></Check>
Expand Down

0 comments on commit 77b371a

Please sign in to comment.