also looking at this
Migrate :text bindings to {{ }} interpolation (stx 0.2.72)
#3
5 files
+229
-27
| @@ -80,7 +80,7 @@ | ||
| 80 | 80 | class="hover:bg-zinc-50 dark:hover:bg-zinc-900 border-b border-zinc-100 dark:border-zinc-800/50 transition-colors" |
| 81 | 81 | > |
| 82 | 82 | <td class="px-4 py-3"> |
| 83 | <span class="font-medium font-mono text-sm text-zinc-900 dark:text-zinc-100" :text="p.port"></span> | |
| 83 | <span class="font-medium font-mono text-sm text-zinc-900 dark:text-zinc-100">{{ p.port }}</span> | |
| 84 | 84 | </td> |
| 85 | 85 | <td class="px-4 py-3"> |
| 86 | 86 | <div class="flex gap-2 items-center"> |
| @@ -90,11 +90,11 @@ | ||
| 90 | 90 | </div> |
| 91 | 91 | </td> |
| 92 | 92 | <td class="px-4 py-3"> |
| 93 | <span :if="p.pid" class="font-mono text-sm text-zinc-500 dark:text-zinc-400" :text="p.pid"></span> | |
| 93 | <span :if="p.pid" class="font-mono text-sm text-zinc-500 dark:text-zinc-400">{{ p.pid }}</span> | |
| 94 | 94 | <span :if="!p.pid" class="text-sm text-zinc-300 dark:text-zinc-700">-</span> |
| 95 | 95 | </td> |
| 96 | 96 | <td class="px-4 py-3"> |
| 97 | <span :if="p.command" class="block max-w-xs text-xs text-zinc-500 truncate dark:text-zinc-400" :text="p.command"></span> | |
| 97 | <span :if="p.command" class="block max-w-xs text-xs text-zinc-500 truncate dark:text-zinc-400">{{ p.command }}</span> | |
| 98 | 98 | <span :if="!p.command" class="text-sm text-zinc-300 dark:text-zinc-700">-</span> |
| 99 | 99 | </td> |
| 100 | 100 | <td class="px-4 py-3 text-right"> |
| @@ -102,8 +102,7 @@ | ||
| 102 | 102 | :if="p.active" |
| 103 | 103 | @click="killPort(p.port)" |
| 104 | 104 | class="px-3 py-1 font-medium text-red-500 text-xs bg-red-500/10 hover:bg-red-500/20 border border-red-500/20 rounded transition-colors cursor-pointer" |
| 105 | :text="isKilling(p.port) ? 'Killing...' : 'Kill'" | |
| 106 | ></button> | |
| 105 | >{{ isKilling(p.port) ? 'Killing...' : 'Kill' }}</button> | |
| 107 | 106 | </td> |
| 108 | 107 | </tr> |
| 109 | 108 | </tbody> |