[Vue.js] variable is assigned a value but never used when declaring it in Vue data object and using it in a method