Skip to content

Commit

Permalink
Fix reactivity issue (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
milewski authored Oct 24, 2023
1 parent a371d10 commit 1950679
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/js/card.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/js/components/Filter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@
.nova-dashboard-filter {
&.\--expanded {
@apply bg-gray-300;
@apply bg-gray-200;
}
&.\--active {
Expand Down
3 changes: 2 additions & 1 deletion resources/js/components/Mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export function registerMixin(component) {
component.mixins.push({
data() {
return {
value: this.card.value,
isLoading: false,
}
},
Expand All @@ -31,7 +32,7 @@ export function registerMixin(component) {
}))

request
.then(response => this.card.value = response.data.value)
.then(response => this.value = response.data.value)
.finally(() => this.isLoading = false)

})
Expand Down

0 comments on commit 1950679

Please sign in to comment.