@bagelink/vue 1.4.130 → 1.4.134

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "1.4.130",
4
+ "version": "1.4.134",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -9,7 +9,7 @@ import type {
9
9
  ConfirmModalUserOptions,
10
10
  ModalConfirmOptions
11
11
  } from './modalTypes'
12
- import { defineComponent, h, inject } from 'vue'
12
+ import { defineComponent, h, inject, reactive } from 'vue'
13
13
  import { Modal, ModalConfirm, ModalForm } from '../components'
14
14
 
15
15
  export interface ModalApi {
@@ -35,7 +35,7 @@ export function useModal(): ModalApi {
35
35
 
36
36
  export const ModalPlugin: Plugin = {
37
37
  install: (app) => {
38
- const modalStack: ModalComponentProps<object>[] = []
38
+ const modalStack = reactive<ModalComponentProps<object>[]>([])
39
39
 
40
40
  const hideModal = (index: number) => {
41
41
  modalStack.splice(index, 1)