Prettified
This commit is contained in:
parent
4dadb01fe8
commit
d52e3135fc
1 changed files with 10 additions and 12 deletions
|
|
@ -51,8 +51,6 @@ export default {
|
||||||
mixins: [inputButtonWrapperMixin],
|
mixins: [inputButtonWrapperMixin],
|
||||||
props: {
|
props: {
|
||||||
loaderColor: String,
|
loaderColor: String,
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.displayLoader();
|
this.displayLoader();
|
||||||
|
|
@ -67,7 +65,7 @@ export default {
|
||||||
badgeText: "",
|
badgeText: "",
|
||||||
availabilityRating: "None",
|
availabilityRating: "None",
|
||||||
availabilityRatingClass: "",
|
availabilityRatingClass: "",
|
||||||
loaderPosition: "left"
|
loaderPosition: "left",
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
@ -84,13 +82,13 @@ export default {
|
||||||
availabilityRating: {
|
availabilityRating: {
|
||||||
handler(newValue) {
|
handler(newValue) {
|
||||||
if (newValue == "None") {
|
if (newValue == "None") {
|
||||||
this.availabilityRatingClass = "gray"
|
this.availabilityRatingClass = "gray";
|
||||||
} else {
|
} else {
|
||||||
this.availabilityRatingClass = newValue == "Good" ? "green" : "red";
|
this.availabilityRatingClass = newValue == "Good" ? "green" : "red";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
immediate: true
|
immediate: true,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
loader,
|
loader,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue