@c8y/ngx-components 1021.22.71 → 1021.22.77
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/branding/shared/lazy/branding-import-modal/branding-import-modal.component.d.ts.map +1 -1
- package/esm2022/auth-configuration/sso-configuration/sso-configuration.component.mjs +3 -3
- package/esm2022/branding/shared/lazy/branding-import-modal/branding-import-modal.component.mjs +4 -7
- package/esm2022/operations/device-selector/device-selector.component.mjs +5 -1
- package/fesm2022/c8y-ngx-components-auth-configuration.mjs +2 -2
- package/fesm2022/c8y-ngx-components-auth-configuration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-branding-shared-lazy.mjs +3 -6
- package/fesm2022/c8y-ngx-components-branding-shared-lazy.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-device-selector.mjs +4 -0
- package/fesm2022/c8y-ngx-components-operations-device-selector.mjs.map +1 -1
- package/operations/device-selector/device-selector.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -169,12 +169,9 @@ class BrandingImportModalComponent {
|
|
|
169
169
|
if (!versionDetails) {
|
|
170
170
|
throw Error('No version details provided');
|
|
171
171
|
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
}
|
|
176
|
-
catch (e) {
|
|
177
|
-
// otherwise get started using branding
|
|
172
|
+
// verify if branding is already present
|
|
173
|
+
const { variants } = await this.brandings.loadBrandingVariants();
|
|
174
|
+
if (!variants?.length) {
|
|
178
175
|
await this.brandings.getStartedUsingBranding();
|
|
179
176
|
}
|
|
180
177
|
const importedZipEntries = await firstValueFrom(this.zip.getEntries(file));
|