diff --git a/GITALY_SERVER_VERSION b/GITALY_SERVER_VERSION index 9e6b49d9790..404239c04ed 100644 --- a/GITALY_SERVER_VERSION +++ b/GITALY_SERVER_VERSION @@ -1 +1 @@ -0526d03bec8ec0e642b8c32c7ece396e0ba914f6 +98e4597b4ab1d5a87be725ae0aa58ba3f2566210 diff --git a/app/assets/javascripts/ci/job_details/components/empty_state.vue b/app/assets/javascripts/ci/job_details/components/empty_state.vue index 89c687c1be5..9a8a2d4ffbf 100644 --- a/app/assets/javascripts/ci/job_details/components/empty_state.vue +++ b/app/assets/javascripts/ci/job_details/components/empty_state.vue @@ -1,15 +1,12 @@ @@ -97,11 +91,6 @@ export default {

{{ content }} -

diff --git a/app/assets/javascripts/ci/job_details/components/sidebar/job_sidebar_retry_button.vue b/app/assets/javascripts/ci/job_details/components/sidebar/job_sidebar_retry_button.vue index 03a23ab621e..e26ce5a6e2b 100644 --- a/app/assets/javascripts/ci/job_details/components/sidebar/job_sidebar_retry_button.vue +++ b/app/assets/javascripts/ci/job_details/components/sidebar/job_sidebar_retry_button.vue @@ -7,7 +7,6 @@ import { s__, __ } from '~/locale'; import axios from '~/lib/utils/axios_utils'; import { visitUrl } from '~/lib/utils/url_utility'; import { confirmJobConfirmationMessage } from '~/ci/pipeline_details/graph/utils'; -import PipelineVariablesPermissionsMixin from '~/ci/mixins/pipeline_variables_permissions_mixin'; export default { name: 'JobSidebarRetryButton', @@ -21,8 +20,7 @@ export default { GlModal: GlModalDirective, GlTooltip: GlTooltipDirective, }, - mixins: [PipelineVariablesPermissionsMixin], - inject: ['projectPath', 'userRole'], + inject: ['canSetPipelineVariables'], props: { modalId: { type: String, @@ -96,7 +94,7 @@ export default { />
{ pipelineTestReportUrl, logViewerPath, duoFeaturesEnabled, - userRole, + canSetPipelineVariables, } = el.dataset; const fullScreenAPIAvailable = document.fullscreenEnabled; @@ -59,7 +59,7 @@ export const initJobDetails = () => { aiRootCauseAnalysisAvailable: parseBoolean(aiRootCauseAnalysisAvailable), duoFeaturesEnabled: parseBoolean(duoFeaturesEnabled), pipelineTestReportUrl, - userRole, + canSetPipelineVariables: parseBoolean(canSetPipelineVariables), }, render(h) { return h(JobApp, { diff --git a/app/assets/javascripts/emoji/components/picker.vue b/app/assets/javascripts/emoji/components/picker.vue index f08856d7bae..3e67d38f3d2 100644 --- a/app/assets/javascripts/emoji/components/picker.vue +++ b/app/assets/javascripts/emoji/components/picker.vue @@ -50,6 +50,11 @@ export default { required: false, default: true, }, + customEmojiPath: { + type: String, + required: false, + default: '', + }, }, data() { return { @@ -61,6 +66,9 @@ export default { }; }, computed: { + newEmojiPath() { + return this.newCustomEmojiPath || this.customEmojiPath; + }, categoryNames() { return CATEGORY_NAMES.filter((c) => { if (c === FREQUENTLY_USED_KEY) return hasFrequentlyUsedEmojis(); @@ -77,7 +85,7 @@ export default { newCustomEmoji() { return { text: __('Create new emoji'), - href: this.newCustomEmojiPath, + href: this.newEmojiPath, extraAttrs: { 'data-testid': 'create-new-emoji', }, @@ -225,12 +233,12 @@ export default { -