Skip to content

Commit

Permalink
[ENG-4077] Fix accessing component's registration (#2001)
Browse files Browse the repository at this point in the history
Purpose

The purpose of these changes is to fix accessing a component's registration from the component's project registrations page.
  • Loading branch information
chth0n1x authored Oct 13, 2023
1 parent 0ef5157 commit 0b88341
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/resolve-guid/guid-route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export default abstract class GuidRoute extends Route {
model = await this.store.findRecord(this.modelName(), guid, {
include: this.include(),
adapterOptions: this.adapterOptions(),
reload: true,
});
} catch (e) {
// To do custom error handling, add an error() action to the route that subclasses GuidRoute.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ module('Registries | Acceptance | overview.overview', hooks => {
reg.update({ currentUserPermissions: [Permission.Write, Permission.Read] });
await visit(`/${reg.id}/`);

await click('[data-test-edit-button="tags"]');
assert.dom('[data-test-tags-widget-tag-input="edit"] input').isVisible();

reg.update({ currentUserPermissions: [Permission.Read] });
Expand Down

0 comments on commit 0b88341

Please sign in to comment.