diff options
author | Dennis Tang <dtang@gitlab.com> | 2018-05-04 14:43:16 +0200 |
---|---|---|
committer | Dennis Tang <dtang@gitlab.com> | 2018-05-04 14:43:16 +0200 |
commit | ca552bb42169fa6ddfece400418b03fa19c64353 (patch) | |
tree | 2f15c7ca0dcdf59b5d12e6b340d9ad57f69373b7 /app | |
parent | 11e9339d9cd1931d2481f19cfe327af7d14bae44 (diff) | |
download | gitlab-ce-ca552bb42169fa6ddfece400418b03fa19c64353.tar.gz |
fix validation for zone dropdowns
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/projects/gke_cluster_dropdowns/components/gke_zone_dropdown.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/projects/gke_cluster_dropdowns/components/gke_zone_dropdown.vue b/app/assets/javascripts/projects/gke_cluster_dropdowns/components/gke_zone_dropdown.vue index b8f3f0fd8ca..fdfdfb20046 100644 --- a/app/assets/javascripts/projects/gke_cluster_dropdowns/components/gke_zone_dropdown.vue +++ b/app/assets/javascripts/projects/gke_cluster_dropdowns/components/gke_zone_dropdown.vue @@ -47,7 +47,7 @@ export default { }, computed: { isDisabled() { - return this.$store.state.selectedProject.length === 0; + return this.$store.state.selectedProject.projectId.length === 0; }, results() { return this.items.filter(item => item.name.toLowerCase().indexOf(this.searchQuery) > -1); |