refactor(control): make run_on_all_selected_displays more generic

This commit is contained in:
2026-01-06 19:18:18 +01:00
parent 4325ffc4aa
commit 427209e518
5 changed files with 16 additions and 12 deletions
@@ -160,7 +160,7 @@
await change_file_path($current_file_path + file.name + '/');
} else {
const path_to_file = $current_file_path + file.name;
await run_on_all_selected_displays(open_file, true, path_to_file);
await run_on_all_selected_displays((d) => open_file(d.ip, path_to_file));
}
}