nuxt-glorious 1.2.9-9-1 → 1.2.9-9-2

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/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "nuxt-glorious",
3
3
  "configKey": "glorious",
4
- "version": "1.2.9-9-1"
4
+ "version": "1.2.9-9-2"
5
5
  }
@@ -72,7 +72,14 @@ const addTag = (event: any) => {
72
72
 
73
73
  const addTagViaOption = (option: any, event: any) => {
74
74
  // event.stopPropagation() if want not close with window
75
- if (tags.value.length === 0) tags.value = []
75
+ console.log(typeof tags.value)
76
+
77
+ if (
78
+ typeof tags.value === 'string' ||
79
+ typeof tags.value === 'undefined' ||
80
+ tags.value.length === 0
81
+ )
82
+ tags.value = []
76
83
 
77
84
  const value: any = option
78
85
  tags.value.push(value)
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.9-9-1",
2
+ "version": "1.2.9-9-2",
3
3
  "name": "nuxt-glorious",
4
4
  "description": "This package provides many things needed by a project, including server requests and authentication, SEO and other requirements of a project.",
5
5
  "repository": "sajadhzj/nuxt-glorious",