ADW app.navigation.isLibraries rule is not working as expected
When using the app.navigation.isLibraries rule in ADW for showing/hiding certain buttons but the evaluator is never true. I found the source for the evaluator, registered my own evaluator and pasted the code from the app.navigation.isLibraries evaluator in it with a "console.log(context.navigation.url)" and it always shows the url from before navigating to http://localhost:4200/#/libraries view (e.g. "#/libraries/library_id_x").
Evaluator in "projects/adf-ai-extension/src/lib/ai-view.module.ts"
Steps to reproduce:
Download the attached ADW zip
Set proxy.conf.js to point to ACS
Run npm install
Run npm start
Go to localhost:4200 and login
Open the browser console in dev tools
Go to My Libraries
Click on a library in the list -> I'm navigated to the correct site and my evaluator gets called (logging: "/libraries/library_id_x") which is correct.
Click on "My Libraries" or back
The console logs "/libraries/library_id_x"
The console logs "/libraries"
Reproduced with ADW 1.4 and 1.6