mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-18 16:41:36 -07:00
Bugfix: ordering by column in the flag editor
This commit is contained in:
parent
7440f18663
commit
3d4ba04e8a
@ -89,7 +89,6 @@ namespace Bloxstrap.Integrations
|
||||
if (logFileInfo.CreationTime.AddSeconds(15) > DateTime.Now)
|
||||
break;
|
||||
|
||||
// TODO: report failure after 10 seconds of no log file
|
||||
App.Logger.WriteLine(LOG_IDENT, $"Could not find recent enough log file, waiting... (newest is {logFileInfo.Name})");
|
||||
await Task.Delay(1000);
|
||||
}
|
||||
|
@ -307,12 +307,10 @@ namespace Bloxstrap.UI.Elements.Settings.Pages
|
||||
|
||||
private void DataGrid_CellEditEnding(object sender, DataGridCellEditEndingEventArgs e)
|
||||
{
|
||||
int index = e.Row.GetIndex();
|
||||
FastFlag entry = _fastFlagList[index];
|
||||
|
||||
var textbox = e.EditingElement as TextBox;
|
||||
if (e.Row.DataContext is not FastFlag entry)
|
||||
return;
|
||||
|
||||
if (textbox is null)
|
||||
if (e.EditingElement is not TextBox textbox)
|
||||
return;
|
||||
|
||||
switch (e.Column.Header)
|
||||
|
Loading…
Reference in New Issue
Block a user