Skip to content

Commit

Permalink
fix kill agent
Browse files Browse the repository at this point in the history
  • Loading branch information
vinnybod committed Jan 31, 2024
1 parent 3bb9c38 commit 419263d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Deleting agent from the action menu on the table now works

## [2.7.1] - 2023-12-03

### Changed
Expand Down
1 change: 1 addition & 0 deletions src/components/agents/AgentsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
:selected-tags="selectedTags"
:refresh-agents="autoRefresh"
@refresh-tags="getTags"
@kill-agent="killAgent"
/>
</template>
</advanced-table>
Expand Down
2 changes: 1 addition & 1 deletion src/components/agents/AgentsTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ export default {
this.agentStore.getAgents();
},
async killAgent(item) {
this.$emit("killAgent", item);
this.$emit("kill-agent", item);
},
popout(item) {
window.open(
Expand Down

0 comments on commit 419263d

Please sign in to comment.