You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe how to reproduce the bug / the goal of the new feature request
If you call voyagerInstance.updateData(someData) Voyager loads the data. If you repeat the call again with the samesomeData object nothing happens even if:
a different dataset has been loaded into Voyager via the 'Change' button in the Voyager UI
the data in the someData object is different from that in the preceding updateData(someData)
Workaround:
Copy the someData to a new object before calling updateData(), for example:
const someData = { values: [...] };
function handleLoadButton () {
// This works whether someData.values has changed or not
const datatoload = { "values": [...someData.values] };
voyagerInstance.updateData(datatoload);
}
The text was updated successfully, but these errors were encountered:
Please:
If you call
voyagerInstance.updateData(someData)
Voyager loads the data. If you repeat the call again with the samesomeData
object nothing happens even if:someData
object is different from that in the precedingupdateData(someData)
Workaround:
Copy the someData to a new object before calling
updateData()
, for example:The text was updated successfully, but these errors were encountered: