diff --git a/LANCommander/Pages/Games/Components/ActionEditor.razor b/LANCommander/Pages/Games/Components/ActionEditor.razor
index f751fe9..45adb48 100644
--- a/LANCommander/Pages/Games/Components/ActionEditor.razor
+++ b/LANCommander/Pages/Games/Components/ActionEditor.razor
@@ -12,7 +12,7 @@
-
+
@@ -90,43 +90,6 @@
Move(action.SortOrder, action.SortOrder + 1);
}
- private async void BrowseForActionPath(Data.Models.Action action)
- {
- var modalOptions = new ModalOptions()
- {
- Title = "Choose Action Executable",
- Maximizable = false,
- DefaultMaximized = true,
- Closable = true,
- OkText = "Select File"
- };
-
- var browserOptions = new FilePickerOptions()
- {
- ArchiveId = ArchiveId,
- Select = true,
- Multiple = false
- };
-
- var modalRef = await ModalService.CreateModalAsync>(modalOptions, browserOptions);
-
- modalRef.OnOk = (results) =>
- {
- action.Path = results.FirstOrDefault().Path;
-
- var parts = action.Path.Split('/');
-
- if (parts.Length > 1)
- {
- action.Path = parts.Last();
- action.WorkingDirectory = "{InstallDir}/" + String.Join('/', parts.Take(parts.Length - 1));
- }
-
- StateHasChanged();
- return Task.CompletedTask;
- };
- }
-
private void Move(int oldIndex, int newIndex)
{
foreach (var action in Actions)