;
@tagName('')
@layout(template)
export default class MetadataTagsManagerComponent extends Component {
+ @service router!: RouterService;
// required
changeset!: BufferedChangeset;
valuePath!: string;
@@ -58,6 +55,6 @@ export default class MetadataTagsManagerComponent extends Component {
@action
clickTag(tag: string): void {
- window.location.assign(`${pathJoin(baseUrl, 'search')}?q=(tags:"${encodeURIComponent(tag)}")`);
+ this.router.transitionTo('search', { queryParams: { q: `${encodeURIComponent(tag)}` } });
}
}
diff --git a/translations/en-us.yml b/translations/en-us.yml
index 26400dc8d0..720ac6b773 100644
--- a/translations/en-us.yml
+++ b/translations/en-us.yml
@@ -612,7 +612,7 @@ node_navbar:
settings: Settings
comments: Comments
status:
- welcome_message: 'Welcome to OSF!
Visit our Guides to learn about creating a project, or get inspiration from popular public projects.
'
+ welcome_message: 'Welcome to OSF!
Visit our Guides to learn about creating a project, or get inspiration from popular public projects.
'
alternate_email_error: 'The email address has NOT been added to your account. Please log out and revisit the link in your email. Thank you.'
# remove_addon: 'Because the GitHub add-on for {extra.category} "{extra.title}" was authenticated by {extra.user}, authentication information has been deleted.'
project_deleted: 'Project has been successfully deleted.'