Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-02-02 21:09:47 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-02 21:09:47 +0300
commit0a9b6b99a9bdcacea434501320f1a8d131a33827 (patch)
treeb3fb338cec894837358b82635c90a52f5b8e0c3d /app/assets/javascripts/ci/runner/components/registration
parentd944f09d3212ca8aad09b92dbbae7323ee634237 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/ci/runner/components/registration')
-rw-r--r--app/assets/javascripts/ci/runner/components/registration/registration_token_reset_dropdown_item.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/ci/runner/components/registration/registration_token_reset_dropdown_item.vue b/app/assets/javascripts/ci/runner/components/registration/registration_token_reset_dropdown_item.vue
index 6740065e860..6d2b9ce6efa 100644
--- a/app/assets/javascripts/ci/runner/components/registration/registration_token_reset_dropdown_item.vue
+++ b/app/assets/javascripts/ci/runner/components/registration/registration_token_reset_dropdown_item.vue
@@ -1,7 +1,7 @@
<script>
import { GlDropdownItem, GlLoadingIcon, GlModal, GlModalDirective } from '@gitlab/ui';
import { createAlert } from '~/flash';
-import { TYPE_GROUP, TYPE_PROJECT } from '~/graphql_shared/constants';
+import { TYPENAME_GROUP, TYPE_PROJECT } from '~/graphql_shared/constants';
import { convertToGraphQLId } from '~/graphql_shared/utils';
import { __, s__ } from '~/locale';
import runnersRegistrationTokenResetMutation from '~/ci/runner/graphql/list/runners_registration_token_reset.mutation.graphql';
@@ -58,7 +58,7 @@ export default {
};
case GROUP_TYPE:
return {
- id: convertToGraphQLId(TYPE_GROUP, this.groupId),
+ id: convertToGraphQLId(TYPENAME_GROUP, this.groupId),
type: this.type,
};
case PROJECT_TYPE: