Get CPU from database too

CPU was set as fixed value but now retrieving it from database object like all other settings
This commit is contained in:
Gamerboy59 2022-03-13 23:54:25 +01:00 committed by GitHub
parent 715be1a98e
commit 715adec419
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,7 +141,7 @@
<x-number-input> <x-number-input>
<x-slot name="title">CPU</x-slot> <x-slot name="title">CPU</x-slot>
<x-slot name="name">cpu</x-slot> <x-slot name="name">cpu</x-slot>
<x-slot name="value">2</x-slot> <x-slot name="value">{{$server[0]->cpu}}</x-slot>
<x-slot name="max">64</x-slot> <x-slot name="max">64</x-slot>
<x-slot name="step">1</x-slot> <x-slot name="step">1</x-slot>
</x-number-input> </x-number-input>