Open IshavSohal opened 2 months ago
Your demo site is ready! 🚀 Visit it here: https://ramp4-pcar4.github.io/storylines-editor/dashboard-redesign
src/components/home.vue
line 6 at r2 (raw file):
Hmm this strategy will not work since the template gets rendered when we are on the index-ca-en.html or index-ca-fr.html page. For example, following the https://ramp4-pcar4.github.io/storylines-editor/dashboard-redesign/index-ca-en.html#/en/editor demo link will load the Canada template and see the following results with two lang toggles: ![image.png](https://files.reviewableusercontent.io/images/reviewable/31557789/XTZm2IrynGAJr9AjuxRmNXfd/image.png) Not sure if there is already an existing check in the codebase for this, but a potential solution(?) for this might be to search for "index-ca-en.html" or "index-ca-fr.html" inside the Vue Router object's URL. Another approach would be to set a flag determining if we are using Canada.ca template inside the Router's meta fields and just have the conditional check on that.
Donethanks, I made it so that the language toggle doesn't render when the current source page is "index-ca-en.html" or "index-ca-fr.html"
Donethanks
Sorry for the delay, service desk and licensing delays held things up. lastModified date is being returned from the API now. Please proceed with updating the frontend to display the Last Modified date (Most records are set to the time of DB migration, but this will be updated as changes are made to storylines)
Donethanks
Related Item(s)
373
Changes
Testing
Steps:
This change is