Skip to content

Commit

Permalink
configuration list updated on save configuration button
Browse files Browse the repository at this point in the history
  • Loading branch information
Fady BEKKAR authored and Fady BEKKAR committed Mar 27, 2024
1 parent 4b00921 commit bfb4266
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@
:widgetTitle="widgetTitle"
:widgetKey="widgetKey"
:suggestedConfName="suggestedConfName"
@saved="(confName) => $emit('saved', confName)"
@saved="
(confName) => {
handleConfSaved(confName);
}
"
class="card"
/>
</div>
Expand Down Expand Up @@ -98,6 +102,10 @@ export default {
console.log(e);
});
},
handleConfSaved(confName) {
this.newWidgetName = confName;
this.loadWidgetConfigurations();
},
},
};
</script>
Expand Down

0 comments on commit bfb4266

Please sign in to comment.