@dev.smartpricing/message-composer-layer 1.0.19 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,7 +24,7 @@ const propertyItems = computed(() =>
24
24
  />
25
25
  </UFormField>
26
26
 
27
- <UFormField :label="$t('pages.brands.fields.properties')">
27
+ <!-- <UFormField :label="$t('pages.brands.fields.properties')">
28
28
  <USelectMenu
29
29
  v-model="selectedPropertyIds"
30
30
  :items="propertyItems"
@@ -33,5 +33,5 @@ const propertyItems = computed(() =>
33
33
  :placeholder="$t('pages.brands.fields.properties_placeholder')"
34
34
  class="w-full"
35
35
  />
36
- </UFormField>
36
+ </UFormField> -->
37
37
  </template>
@@ -32,17 +32,17 @@ const filteredBrands = computed(() => {
32
32
 
33
33
  // Table config
34
34
  const columns: TableColumn<BrandFromDb>[] = [
35
- {
36
- id: 'logo',
37
- header: '',
38
- enableSorting: false,
39
- meta: {
40
- class: {
41
- th: 'w-12',
42
- td: 'w-12',
43
- },
44
- },
45
- },
35
+ // {
36
+ // id: 'logo',
37
+ // header: '',
38
+ // enableSorting: false,
39
+ // meta: {
40
+ // class: {
41
+ // th: 'w-12',
42
+ // td: 'w-12',
43
+ // },
44
+ // },
45
+ // },
46
46
  {
47
47
  accessorKey: 'name',
48
48
  header: (ctx) => getSortableHeader(ctx, t('pages.brands.column_name')),
@@ -22,6 +22,7 @@ export function useBrandQuery(id: MaybeRefOrGetter<string>) {
22
22
  key: () => ['brands', toValue(id)],
23
23
  query: () => brandsApi.getById(toValue(id)),
24
24
  staleTime: 2 * 60 * 1000,
25
+ enabled: () => Boolean(toValue(id)),
25
26
  })
26
27
  }
27
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev.smartpricing/message-composer-layer",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./nuxt.config.ts",
@@ -39,7 +39,7 @@
39
39
  "vue-router": "^5.0.6",
40
40
  "vue3-emoji-picker": "^1.1.8",
41
41
  "zod": "^4.4.1",
42
- "@dev.smartpricing/message-composer-utils": "3.1.19"
42
+ "@dev.smartpricing/message-composer-utils": "3.1.20"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@nuxt/eslint": "^1.15.2",