diff --git a/src/modules/resource/components/create-resource/resource-type/GitLab.vue b/src/modules/resource/components/create-resource/resource-type/GitLab.vue index 7563f95bc25a1908e40412013392b35c8be663a1..c27e55681ad64f644b64ef4c862c19129b71de33 100644 --- a/src/modules/resource/components/create-resource/resource-type/GitLab.vue +++ b/src/modules/resource/components/create-resource/resource-type/GitLab.vue @@ -144,7 +144,13 @@ </multiselect> <template #hint> - <span v-if="!gitlabInformation.reference?.can_push" class="text-danger"> + <span + v-if=" + gitlabInformation.reference && + !gitlabInformation.reference?.can_push + " + class="text-danger" + > {{ $t("resourceType.gitlab.cantPush", { branch: gitlabInformation.reference?.name, diff --git a/src/modules/resource/pages/Settings.vue b/src/modules/resource/pages/Settings.vue index 9014f2685374c84bf104fe6c49da383569ce2d0f..ef440bc48e0dbc76d7947c8d7484aa39be5febb2 100644 --- a/src/modules/resource/pages/Settings.vue +++ b/src/modules/resource/pages/Settings.vue @@ -371,7 +371,7 @@ export default defineComponent({ const parentProject = this.project; // Refresh the project information in the store await this.projectStore.refreshProjectInformation(parentProject); - // Refresh the project quota information + // Refresh the project quota information await this.projectStore.retrieveResourceTypeQuotas(parentProject); this.notificationStore.postNotification({ title: this.$t("toast.onDelete.success.title").toString(),