Simplify catalog root pages - show only 'Выберите...' hint
All checks were successful
Build Docker Image / build (push) Successful in 4m9s
All checks were successful
Build Docker Image / build (push) Successful in 4m9s
This commit is contained in:
@@ -19,22 +19,7 @@
|
||||
</template>
|
||||
|
||||
<template #header>
|
||||
<!-- Empty -->
|
||||
<Card v-if="!isLoading && products.length === 0" padding="lg">
|
||||
<Stack align="center" gap="4">
|
||||
<IconCircle tone="primary">
|
||||
<Icon name="lucide:package" size="24" />
|
||||
</IconCircle>
|
||||
<Heading :level="2">{{ t('catalogProducts.empty.title') }}</Heading>
|
||||
<Text tone="muted">{{ t('catalogProducts.empty.subtitle') }}</Text>
|
||||
</Stack>
|
||||
</Card>
|
||||
|
||||
<!-- Header -->
|
||||
<div v-else>
|
||||
<Heading :level="1">{{ t('catalogProducts.header.title') }}</Heading>
|
||||
<Text tone="muted" size="sm">{{ t('catalogProducts.header.subtitle', { count: products.length }) }}</Text>
|
||||
</div>
|
||||
<Text v-if="!isLoading" tone="muted">Выберите товар</Text>
|
||||
</template>
|
||||
|
||||
<template #card="{ item }">
|
||||
|
||||
Reference in New Issue
Block a user