We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bad0f1d commit ca2975aCopy full SHA for ca2975a
src/components/order/AddressForm.vue
@@ -52,7 +52,7 @@ export default {
52
mounted: function () {
53
this.$api.users.defaults.headers.common['Authorization'] = `Bearer ${this.$store.state.auth.token}`;
54
this.$api.users.get('/current/attributes').then((response) => {
55
- let attribute = response.data.filter((element) => element.key == this.addressKey || element.key == 'addressID').pop();
+ let attribute = response.data.filter((element) => element.key === this.addressKey || element.key === 'addressID').pop();
56
return this.$api.addresses.get(`/${attribute.text}`);
57
}).then((response) => {
58
this.saved = response.data;
0 commit comments