shared-ritm 1.2.81 → 1.2.82

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.81",
3
+ "version": "1.2.82",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -100,10 +100,11 @@ const DialogRef = computed({
100
100
 
101
101
  const currTabId = computed({
102
102
  get() {
103
- return props.tabId
103
+ return props.tabs?.find(t => t.id === props.tabId)?.title
104
104
  },
105
105
  set(value) {
106
- emit('update:tabId', value)
106
+ const id = props.tabs?.find(t => t.title === value)?.id
107
+ emit('update:tabId', id)
107
108
  },
108
109
  })
109
110
  </script>