mediacube-ui 0.1.235 → 0.1.236
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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.1.236](https://github.com/MediaCubeCo/mcui/compare/v0.1.235...v0.1.236) (2024-03-19)
|
|
6
|
+
|
|
5
7
|
### [0.1.235](https://github.com/MediaCubeCo/mcui/compare/v0.1.234...v0.1.235) (2024-03-15)
|
|
6
8
|
|
|
7
9
|
### [0.1.234](https://github.com/MediaCubeCo/mcui/compare/v0.1.233...v0.1.234) (2024-03-14)
|
package/package.json
CHANGED
|
@@ -380,7 +380,7 @@ export default {
|
|
|
380
380
|
!options.some(option => String(option.value) === String(this.value))
|
|
381
381
|
// Если в options нет опции с выбранным значением, то добавляем в общий список
|
|
382
382
|
if (Array.isArray(this.selected_options)) {
|
|
383
|
-
[...(this.selected_options || [])]?.forEach(selectedOption => {
|
|
383
|
+
;[...(this.selected_options || [])]?.forEach(selectedOption => {
|
|
384
384
|
if (selectedOption?.value && !options.some(option => option.value === selectedOption.value)) {
|
|
385
385
|
options.push(selectedOption)
|
|
386
386
|
}
|
|
@@ -490,6 +490,14 @@ export default {
|
|
|
490
490
|
return this.avatar || this.icon
|
|
491
491
|
},
|
|
492
492
|
},
|
|
493
|
+
watch: {
|
|
494
|
+
options: {
|
|
495
|
+
immediate: true,
|
|
496
|
+
handler(val) {
|
|
497
|
+
this.selected_options.push(...val)
|
|
498
|
+
},
|
|
499
|
+
},
|
|
500
|
+
},
|
|
493
501
|
methods: {
|
|
494
502
|
handleOpen() {
|
|
495
503
|
if (!this.renderAbsoluteList) return
|