public void RefreshSync() { var stateFilter = !string.IsNullOrEmpty(Settings.StateFilterName) ? Settings.StateFilterName : EntityScreen.StateFilter; ResourceSelectorViewModel.Refresh(EntityScreen, stateFilter, _request); }
public void RefreshSync() { var stateFilter = !string.IsNullOrEmpty(Settings.StateFilterName) ? Settings.StateFilterName : EntityScreen.StateFilter; if (stateFilter == "*") { stateFilter = ""; } ResourceSelectorViewModel.Refresh(EntityScreen, stateFilter, _request); ResourceSelectorViewModel.AutomationCommandName = Settings.AutomationCommandName; ResourceSelectorViewModel.AutomationCommandValue = Settings.CommandValue; }