diff options
Diffstat (limited to 'app/assets/javascripts/issues/show/index.js')
-rw-r--r-- | app/assets/javascripts/issues/show/index.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/javascripts/issues/show/index.js b/app/assets/javascripts/issues/show/index.js index 3cb5007ab0d..21d877c5fe6 100644 --- a/app/assets/javascripts/issues/show/index.js +++ b/app/assets/javascripts/issues/show/index.js @@ -83,7 +83,7 @@ export function initIssueApp(issueData, store) { return undefined; } - const { fullPath } = el.dataset; + const { fullPath, registerPath, signInPath } = el.dataset; scrollToTargetOnResize(); @@ -99,6 +99,8 @@ export function initIssueApp(issueData, store) { provide: { canCreateIncident, fullPath, + registerPath, + signInPath, hasIssueWeightsFeature, }, computed: { @@ -150,6 +152,8 @@ export function initHeaderActions(store, type = '') { projectPath: el.dataset.projectPath, projectId: el.dataset.projectId, reportAbusePath: el.dataset.reportAbusePath, + reportedUserId: el.dataset.reportedUserId, + reportedFromUrl: el.dataset.reportedFromUrl, submitAsSpamPath: el.dataset.submitAsSpamPath, }, render: (createElement) => createElement(HeaderActions), |