equinor / fusion-workspace

MIT License
8 stars 2 forks source link

🐛: PBI workspace: Name change on filters error #601

Open JoneUE opened 6 months ago

JoneUE commented 6 months ago

Description

When changing name on a filter in PBI, the old filter names are selected, but the new ones are not. See picture

Image

Gustav-Eikaas commented 4 months ago

Dev context

Changes was introduced in #525 PR: #525 Issue: #526 Relevant line: https://github.com/equinor/fusion-workspace/pull/525/files#diff-9d19589d9578f638067fcc6520c231174f4ca74d2b701cbffc41fdca9662f0e3R5-R13

Seems once again to be an issue with powerbi reports changing and our code not being able to handle it. One way to solve it would be to match localstorage state with what the report gives out on first render and then prune renamed/deleted filters