shared-ritm 1.2.113 → 1.2.115

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shared-ritm",
3
- "version": "1.2.113",
3
+ "version": "1.2.115",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -3,7 +3,7 @@
3
3
  <q-toolbar :class="$style.toolbar">
4
4
  <h1>{{ pageTitle }}</h1>
5
5
  <div :class="$style['action-buttons']">
6
- {{ settingsMenuItems.find(x => x.name === 'root' && x.isShow()) }}
6
+ <p v-if="settingsMenuItems.find(x => x.name === 'root-on' && x.isShow)" style="color: red">Root-режим</p>
7
7
  <div :class="$style['person']" @click="clickProfile">
8
8
  <app-icon name="person-icon" />
9
9
  <div :class="$style['person__info']">
@@ -28,7 +28,7 @@
28
28
  <q-menu max-height="160px" :offset="[-18, 4]" :class="$style['settings-menu']">
29
29
  <q-list v-for="item in settingsMenuItems" :key="item.name" :class="$style['settings-menu__list']">
30
30
  <q-item
31
- v-show="item.isShow()"
31
+ v-show="item.isShow"
32
32
  v-close-popup
33
33
  :class="$style['settings-menu__item']"
34
34
  clickable
@@ -55,7 +55,7 @@ interface Props {
55
55
  userData: any
56
56
  fullWidth?: boolean
57
57
  pageTitle?: string
58
- settingsMenuItems?: { label: string; name: string; isShow: () => boolean }[]
58
+ settingsMenuItems?: { label: string; name: string; isShow: boolean }[]
59
59
  }
60
60
 
61
61
  const emits = defineEmits(['clickSettingsMenuItem', 'clickNotification', 'clickProfile'])