-1 shows the actual value

This commit is contained in:
GeckoBoy84 2023-01-16 21:34:37 +00:00
parent e1b4a1b9b8
commit d42c25bf56

View file

@ -209,7 +209,7 @@
<li class="d-flex justify-content-between">
<span class="d-inline-block"><i class="fa fa-coins"></i>
{{ __('Required') }} {{ CREDITS_DISPLAY_NAME }} {{ __('to create this server') }}</span>
<span class="d-inline-block" x-text="product.minimum_credits"></span>
<span class="d-inline-block" x-text="product.minimum_credits === -1 ? {{ config('SETTINGS::USER:MINIMUM_REQUIRED_CREDITS_TO_MAKE_SERVER') }} : product.minimum_credit"></span>
</li>
</ul>
</div>