When pressing the (+) button to create a new dashboard doesn’t redirect correctly

When pressing the (+) button to create a new dashboard doesn’t correctly redirect a user to that new dashboard, if it is triggered from the “/device-dashboard” but it is working on BatchLog

below is code in app.module.ts


On creating new dashboard from Batchlog url is generating correct as show in below
/#/device/311380926959/dashboard/511386754144
but on Creating new dashboard from Device Config url not generating properly.
/#/device/311380926959/671386753901- here dashboard is missing

Hi @ugiri,

Could you please provide the WebSDK version you are using? It is otherwise hard to reproduce your issue.

Regards,
Tristan

Hi Tristan,
Below are details.
@angular/router”: “14.0.6”,
@angular/upgrade”: “14.0.6”,
@c8y/client”: “1018.0.277”,
@c8y/ng1-modules”: “1018.0.277”,
@c8y/ngx-components”: “1018.0.277”,

@c8y/cli”: “1018.0.277”,
Thanks,
Umesh Giri

Hi @ugiri,

the 1018.0.x release line is already out of support since a while. In case this is an issue within the Web SDK, we would no longer be able to provide a fix for this.

Please upgrade to a supported Web SDK version and verify if the issue still exists in that version.

Regards,
Tristan

Sure Tristan,

I will check on upgraded version and let you know.

Thank & Regards,
Umesh Giri

Hi Tristan,

Checked on upgraded version but issue still exist.
Below are details of upgraded version,

"@angular/router": "15.2.7",
"@angular/upgrade": "15.2.7",
"@c8y/client": "1018.510.4",
"@c8y/ngx-components": "1018.510.4",

 "@c8y/cli": "1018.510.4",

Thanks & Regards,
Umesh Giri

Hi @ugiri,

Sorry but can you use the latest 1018.503.x version instead?
This minor version is an let’s release as part of the 2024 yearly release…
The other option would be to switch to 1021.x.y.

Regards,
Tristan

Hi Tristan,

Resolved the issue.

Thanks,
Umesh