Commit cce8e17e authored by Dennis Tang's avatar Dennis Tang

fix some labeling

parent 1e4c2a2e
......@@ -50,7 +50,7 @@ export default {
isDisabled() {
return !this.selectedProject || !this.selectedZone;
},
searchResults() {
results() {
return this.machineTypes.filter(
item => item.name.toLowerCase().indexOf(this.searchQuery) > -1,
);
......@@ -138,7 +138,7 @@ export default {
<div class="dropdown-content">
<ul>
<li
v-for="result in searchResults"
v-for="result in results"
:key="result.id"
>
<a
......
......@@ -56,7 +56,7 @@ export default {
isDisabled() {
return this.projects.length < 2;
},
searchResults() {
results() {
return this.projects.filter(item => item.name.toLowerCase().indexOf(this.searchQuery) > -1);
},
toggleText() {
......@@ -158,7 +158,7 @@ export default {
<div class="dropdown-content">
<ul>
<li
v-for="result in searchResults"
v-for="result in results"
:key="result.project_number"
>
<a
......
......@@ -50,7 +50,7 @@ export default {
isDisabled() {
return !this.hasProject;
},
searchResults() {
results() {
return this.zones.filter(item => item.name.toLowerCase().indexOf(this.searchQuery) > -1);
},
toggleText() {
......@@ -123,7 +123,7 @@ export default {
<div class="dropdown-content">
<ul>
<li
v-for="result in searchResults"
v-for="result in results"
:key="result.id"
>
<a
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment