@industry-theme/file-city-panel 0.2.74 → 0.2.75
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/panels.bundle.js
CHANGED
|
@@ -53219,17 +53219,14 @@ function validateTour(tour) {
|
|
|
53219
53219
|
stepIds.add(step.id);
|
|
53220
53220
|
});
|
|
53221
53221
|
}
|
|
53222
|
-
if (tour.audience !== void 0) {
|
|
53223
|
-
|
|
53224
|
-
|
|
53225
|
-
|
|
53226
|
-
|
|
53227
|
-
|
|
53228
|
-
|
|
53229
|
-
|
|
53230
|
-
)
|
|
53231
|
-
);
|
|
53232
|
-
}
|
|
53222
|
+
if (tour.audience !== void 0 && typeof tour.audience !== "string") {
|
|
53223
|
+
errors.push(
|
|
53224
|
+
new TourValidationError(
|
|
53225
|
+
`Invalid 'audience' - must be a string`,
|
|
53226
|
+
"audience",
|
|
53227
|
+
tour.audience
|
|
53228
|
+
)
|
|
53229
|
+
);
|
|
53233
53230
|
}
|
|
53234
53231
|
return errors;
|
|
53235
53232
|
}
|