Skip to content

Commit abfd132

Browse files
committed
feat: Disable and make apps button and search panel semi-transparent if the container is not running or the Guest API is not online
1 parent 3f0c485 commit abfd132

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/renderer/views/Apps.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,14 @@
5959
</footer>
6060
</dialog>
6161

62-
<div class="flex justify-between items-center mb-6">
62+
<div
63+
class="flex justify-between items-center mb-6"
64+
:class="{
65+
'opacity-50 pointer-events-none':
66+
winboat.containerStatus.value !== ContainerStatus.Running ||
67+
!winboat.isOnline.value
68+
}"
69+
>
6370
<x-label class="text-neutral-300">Apps</x-label>
6471
<div class="flex flex-row gap-2 justify-center items-center">
6572
<!-- Refresh button -->

0 commit comments

Comments
 (0)