mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 17:54:45 +02:00
Fix Issue 763 (#780)
* Fix path to moved component * Fix actual issue #763
This commit is contained in:
parent
cc3a7a2d0d
commit
67f1e91236
@ -1,3 +1,3 @@
|
|||||||
<x-filament::widget>
|
<x-filament::widget>
|
||||||
@livewire(\App\Filament\Resources\NodeResource\Widgets\NodeCpuChart::class, ['record'=> $getRecord()])
|
@livewire(\App\Filament\Admin\Resources\NodeResource\Widgets\NodeCpuChart::class, ['record'=> $getRecord()])
|
||||||
</x-filament::widget>
|
</x-filament::widget>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<x-filament::widget>
|
<x-filament::widget>
|
||||||
@livewire(\App\Filament\Resources\NodeResource\Widgets\NodeMemoryChart::class, ['record'=> $getRecord()])
|
@livewire(\App\Filament\Admin\Resources\NodeResource\Widgets\NodeMemoryChart::class, ['record'=> $getRecord()])
|
||||||
</x-filament::widget>
|
</x-filament::widget>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<x-filament::widget>
|
<x-filament::widget>
|
||||||
@livewire(\App\Filament\Resources\NodeResource\Widgets\NodeStorageChart::class, ['record'=> $getRecord()])
|
@livewire(\App\Filament\Admin\Resources\NodeResource\Widgets\NodeStorageChart::class, ['record'=> $getRecord()])
|
||||||
</x-filament::widget>
|
</x-filament::widget>
|
||||||
|
@ -76,7 +76,6 @@
|
|||||||
terminal.loadAddon(searchAddon);
|
terminal.loadAddon(searchAddon);
|
||||||
terminal.loadAddon(searchAddonBar);
|
terminal.loadAddon(searchAddonBar);
|
||||||
|
|
||||||
|
|
||||||
terminal.open(document.getElementById('terminal'));
|
terminal.open(document.getElementById('terminal'));
|
||||||
|
|
||||||
fitAddon.fit(); //Fit on first load
|
fitAddon.fit(); //Fit on first load
|
||||||
@ -161,14 +160,14 @@
|
|||||||
}));
|
}));
|
||||||
};
|
};
|
||||||
|
|
||||||
Livewire.on('setServerState', ({ state }) => {
|
$wire.$on('setServerState', ({ state }) => {
|
||||||
socket.send(JSON.stringify({
|
socket.send(JSON.stringify({
|
||||||
'event': 'set state',
|
'event': 'set state',
|
||||||
'args': [state]
|
'args': [state]
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
|
|
||||||
Livewire.on('sendServerCommand', ({ command }) => {
|
$wire.$on('sendServerCommand', ({ command }) => {
|
||||||
socket.send(JSON.stringify({
|
socket.send(JSON.stringify({
|
||||||
'event': 'send command',
|
'event': 'send command',
|
||||||
'args': [command]
|
'args': [command]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user