We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e36b99 commit 830472fCopy full SHA for 830472f
lib/registries/addon/drafts/draft/route.ts
@@ -37,6 +37,9 @@ export default class DraftRegistrationRoute extends Route {
37
draftId,
38
{ adapterOptions: { include: 'branched_from' } },
39
);
40
+ if (draftRegistration.modelName === 'registration') {
41
+ this.transitionTo('overview', draftRegistration.id);
42
+ }
43
const [subjects, provider]:
44
[SubjectModel[], ProviderModel] = await Promise.all([
45
draftRegistration.loadAll('subjects'),
0 commit comments