mirror of
https://github.com/Spythere/srjp-td2.git
synced 2026-05-04 14:08:12 +00:00
chore(api): improved fetching data from api; changed to new vehicles data endpoint
This commit is contained in:
@@ -5,12 +5,12 @@
|
||||
name="trains"
|
||||
id="trains-select"
|
||||
class="bg-zinc-800 p-1 rounded-md print:hidden w-full"
|
||||
:disabled="apiStore.activeDataStatus != DataStatus.SUCCESS"
|
||||
:disabled="apiStore.apiDataStatus != DataStatus.SUCCESS"
|
||||
aria-label="Active train select"
|
||||
>
|
||||
<option :value="null" disabled>
|
||||
{{
|
||||
apiStore.activeDataStatus == DataStatus.LOADING
|
||||
apiStore.apiDataStatus == DataStatus.LOADING
|
||||
? $t('data-loading-text')
|
||||
: $t('train-select-placeholder')
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user