Skip to content

Commit ca2975a

Browse files
committed
Changed '==' operator calls to '==='
1 parent bad0f1d commit ca2975a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/order/AddressForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default {
5252
mounted: function () {
5353
this.$api.users.defaults.headers.common['Authorization'] = `Bearer ${this.$store.state.auth.token}`;
5454
this.$api.users.get('/current/attributes').then((response) => {
55-
let attribute = response.data.filter((element) => element.key == this.addressKey || element.key == 'addressID').pop();
55+
let attribute = response.data.filter((element) => element.key === this.addressKey || element.key === 'addressID').pop();
5656
return this.$api.addresses.get(`/${attribute.text}`);
5757
}).then((response) => {
5858
this.saved = response.data;

0 commit comments

Comments
 (0)