ADW app.navigation.isLibraries rule is not working as expected

Description

Description:

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:

Setup ACS
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

Observed behaviour:

The console logs "/libraries/library_id_x"

Expected behaviour:

The console logs "/libraries"

Notes:

Reproduced with ADW 1.4 and 1.6

Environment

None

Testcase ID

None

Assignee

Irving Navarrete

Reporter

Marco Tonelli

Labels

None

Escalated By

None

Security Issue

None

ACT Numbers

01013882

Premier Customer

None

Code Branch

None

Build Location

None

Regression Since

None

Work Funnel End

None

Patch Attached

None

Dependent Version/s

None

Cloud or Enterprise

None

Prioritization Score

None

Delivery Team

None

Bug Priority

Category 3

Components

Fix versions

Affects versions