diff --git a/database/migrations/2026_05_16_203249_add_indexes_to_remote_commands_table.php b/database/migrations/2026_05_16_203249_add_indexes_to_remote_commands_table.php
new file mode 100644
index 0000000..c39e989
--- /dev/null
+++ b/database/migrations/2026_05_16_203249_add_indexes_to_remote_commands_table.php
@@ -0,0 +1,32 @@
+index('command_type');
+ $table->index('status');
+ $table->index('created_at');
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ */
+ public function down(): void
+ {
+ Schema::table('remote_commands', function (Blueprint $table) {
+ $table->dropIndex(['command_type']);
+ $table->dropIndex(['status']);
+ $table->dropIndex(['created_at']);
+ });
+ }
+};
diff --git a/resources/views/admin/remote/partials/tab-history-index.blade.php b/resources/views/admin/remote/partials/tab-history-index.blade.php
index e2f9184..a0a7b83 100644
--- a/resources/views/admin/remote/partials/tab-history-index.blade.php
+++ b/resources/views/admin/remote/partials/tab-history-index.blade.php
@@ -148,7 +148,7 @@
@foreach ($history as $item)
- | machine) }})">
+ | machine->only(['id', 'name', 'serial_no', 'image_urls'])) }})">
@@ -281,7 +281,7 @@
@forelse ($history as $item)
machine) }})">
+ @click="selectMachine({{ Js::from($item->machine->only(['id', 'name', 'serial_no', 'image_urls'])) }})">
@@ -365,7 +365,7 @@
- |