Skip to content

Commit

Permalink
Add poll & tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
RMartinOscar committed Oct 29, 2024
1 parent 3f9c1db commit cde3546
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion resources/views/livewire/node-system-information.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div>
<div wire:poll>
@switch($node->systemInformation()['version'] ?? 'false')
@case('false')
<x-filament::icon
Expand All @@ -9,6 +9,10 @@
@break
@default
<x-filament::icon
x-tooltip="{
content: '{{ $node->systemInformation()['version'] }}',
theme: $store.theme,
}"
:icon="'tabler-heartbeat'"
@class(['fi-ta-icon-item', $sizeClasses, 'fi-color-custom text-custom-500 dark:text-custom-400', 'fi-color-success' => true])
@style([\Filament\Support\get_color_css_variables('success', shades: [400, 500], alias: 'tables::columns.icon-column.item') => true])
Expand Down

0 comments on commit cde3546

Please sign in to comment.