@eclipse-slm/ui 1.5.0-snapshot.865 → 1.5.0-snapshot.870

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": "@eclipse-slm/ui",
3
- "version": "1.5.0-snapshot.865",
3
+ "version": "1.5.0-snapshot.870",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -66,7 +66,7 @@
66
66
  align="center"
67
67
  justify="center"
68
68
  >
69
- <progress-circular v-if="!getImageUrl(serviceOffering.coverImage).includes('none')" />
69
+ <progress-circular />
70
70
  </v-row>
71
71
  </template>
72
72
  </v-img>
@@ -114,7 +114,7 @@ export default {
114
114
  serviceVendorId: this.serviceVendorId,
115
115
  description: 'My new service description',
116
116
  shortDescription: 'My new service short description',
117
- coverImage: 'none',
117
+ coverImage: null,
118
118
  serviceCategoryId: null,
119
119
  },
120
120
  }
@@ -149,7 +149,7 @@ export default {
149
149
  onStepCompleted (stepNumber) {
150
150
  switch (stepNumber) {
151
151
  case 1:
152
- if (this.newServiceOffering.coverImage.includes('image/')) {
152
+ if (this.newServiceOffering.coverImage?.includes('image/')) {
153
153
  this.newServiceOffering.coverImage =
154
154
  this.newServiceOffering.coverImage.slice(this.newServiceOffering.coverImage.indexOf(',') + 1, this.newServiceOffering.coverImage.length)
155
155
  }
@@ -33,5 +33,5 @@ export default function getImageUrl (imageData) {
33
33
  return `data:${mimeType};base64,${normalizedImageData}`
34
34
  }
35
35
 
36
- return 'noImage'
36
+ return undefined
37
37
  }