change to method name

This commit is contained in:
Kroell 2023-04-10 16:24:43 -04:00
parent 13693b3d27
commit 8f18b053f0

View file

@ -182,7 +182,7 @@ export default {
return tintSourceObject.src; return tintSourceObject.src;
}, },
AutoSelect() { AutoSelectIfSinglePart() {
if (this.partsForSelectedTint?.length > 0) if (this.partsForSelectedTint?.length > 0)
{ {
// Check if only a single part is present for the tint and set the v-model if it is. // Check if only a single part is present for the tint and set the v-model if it is.
@ -210,7 +210,7 @@ export default {
}, },
watch: { watch: {
selectedTint() { selectedTint() {
this.AutoSelect(); this.AutoSelectIfSinglePart();
}, },
}, },
}; };