diff --git a/resources/views/servers/create.blade.php b/resources/views/servers/create.blade.php index 72029195..bd83857d 100644 --- a/resources/views/servers/create.blade.php +++ b/resources/views/servers/create.blade.php @@ -6,14 +6,14 @@
-

{{__('Servers')}}

+

{{ __('Servers') }}

@@ -163,7 +163,8 @@
  • {{ __('CPU') }} - +
  • @@ -347,7 +348,12 @@ this.fetchedProducts = true; // TODO: Sortable by user chosen property (cpu, ram, disk...) - this.products = response.data.sort((p1, p2) => p1.price > p2.price && 1 || -1 ) + this.products = response.data.sort((p1, p2) => p1.price > p2.price && 1 || -1) + + //divide cpu by 100 for each product + this.products.forEach(product => { + product.cpu = product.cpu / 100; + }) this.loading = false;