@mythpe/quasar-ui-qui 0.1.64 → 0.1.65

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": "@mythpe/quasar-ui-qui",
3
- "version": "0.1.64",
3
+ "version": "0.1.65",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -1097,7 +1097,7 @@ defineExpose({
1097
1097
  <q-td :props="noBodyProps">
1098
1098
  <!--Control-->
1099
1099
  <q-btn-dropdown
1100
- v-if="activeContextItems.length > contextItemsLength"
1100
+ v-if="activeContextItems.length > contextItemsLength && !1"
1101
1101
  v-close-popup
1102
1102
  :menu-offset="[0,10]"
1103
1103
  color="primary"
@@ -748,7 +748,8 @@ export const useDtHelpers = (options: MaybeRefOrGetter<MDatatableProps>) => {
748
748
  },
749
749
  ...(props.contextItems || [])
750
750
  ].sort((a, b) => (a.order ?? 0) - (b.order ?? 0))))
751
- const activeContextItems = computed(() => contextmenuItems.value.filter((e, i) => typeof e.showIf === 'function' ? e.showIf(e, i) : e.showIf !== !1) as Required<MDatatableProps['contextItems']> || [])
751
+ // const activeContextItems = computed(() => contextmenuItems.value.filter((e, i) => typeof e.showIf === 'function' ? e.showIf(e, i) : e.showIf !== !1) as Required<MDatatableProps['contextItems']> || [])
752
+ const activeContextItems = computed(() => contextmenuItems.value)
752
753
  const onCloneItem = (item: MDtItem) => {
753
754
  item = toValue(item)
754
755
  confirmMessage()