Bugfixing
This commit is contained in:
@@ -21,11 +21,16 @@ const {isQueryRunning, organizations} = storeToRefs(useOrganizationsStore());
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<BasicListSkeleton v-if="isQueryRunning"/>
|
||||
<BasicInfoBanner v-else-if="!isQueryRunning && organizations.length === 0" :route-add='{name: "addOrganization"}'>
|
||||
<BasicListSkeleton v-if="isQueryRunning || !organizations"/>
|
||||
|
||||
<BasicInfoBanner
|
||||
v-else-if="!isQueryRunning && organizations.length === 0"
|
||||
:route-add='{name: "addOrganization"}'
|
||||
>
|
||||
Aktuálně nejsou dostupné žádné organizace, ke kterým by ses mohl/a přidat.
|
||||
Zaregistruj sem svůj aeroklub, abyste mohli sdílet letadla.
|
||||
</BasicInfoBanner>
|
||||
|
||||
<OrganizationsList :items="organizations" :my-organizations-ids="myOrganizationIds" v-else/>
|
||||
<FAB :router-link="{name: 'addOrganization'}" mode="add"/>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user