diff --git a/web/src/components/AgentTable.vue b/web/src/components/AgentTable.vue
index 183c96ec..1f278e6b 100644
--- a/web/src/components/AgentTable.vue
+++ b/web/src/components/AgentTable.vue
@@ -115,38 +115,32 @@
Send Command
-
+
Run Script
+
+
+
+
+
+
+ Run Favorited Script
-
-
-
- Select Script
-
-
- Favorites
-
-
-
-
-
-
- {{ script.label }}
-
-
-
+
+
+
+ {{ script.label }}
@@ -496,6 +490,7 @@ export default {
.catch(e => this.notifyError(e.response.data));
},
getFavoriteScripts() {
+ this.favoriteScripts = [];
this.$axios.get("/scripts/scripts/").then(r => {
if (r.data.filter(k => k.favorite === true).length === 0) {
this.notifyWarning("You don't have any scripts favorited!");