dashjoin / platform

Dashjoin Is an Open Source & Cloud Native Low Code Development and Integration Platform that helps teams deliver applications faster 🚀 Uses a data-driven approach inspired by Linked Data to make use of your existing assets
https://dashjoin.com
GNU Affero General Public License v3.0
89 stars 7 forks source link

Link in Action table does not open the page #365

Closed pgrill79 closed 3 weeks ago

pgrill79 commented 3 weeks ago

I am on a dashboard page where i have an action table - within the action table i have the following Content_

[{ "Name": { "label": "automateIT GmbH", "href": "http://localhost:19010/#/wooltest/client/e4f0ea02-20cf-497b-ae48-6f28bcb64823?onbehalf=00000000" }, "TVD / Reference": "00000000", "Owner": 0, "Keeper": 85, "Breeder": 0, "Address": "Chrüzwies", "ZIP / City": "8852 Altendorf", "Country": "", "Phone": null, "Mobile": null, "Email": null, "URL": { "label": "http://www.automateit.ch", "href": "http://www.automateit.ch" } }]

The URLs Name and URL are displayed correctly: image

But if i click on the "automate IT GmbH" Link he somehow tries to changes the page but comes immidiately back to the dashboard page. If i do a right click and say "Open page in new tab" it works and the client is opened. (so the link is correct)

The link "www.automateit.ch" works when i click directly in the table. So maybe related if the target is localhost or the base url is the same as the current page ?

aeberhart commented 3 weeks ago

This is actually expected behaviour, which stems from the hash-based routing strategy (https://reactrouter.com/ja/main/router-components/hash-router)

You have to omit the /# in the URL and use this path:

/wooltest/client/e4f0ea02-20cf-497b-ae48-6f28bcb64823?onbehalf=00000000