Skip to content

Commit

Permalink
fix: Fix node detail missing kind
Browse files Browse the repository at this point in the history
Signed-off-by: leoliu <leoliu@yunify.com>
  • Loading branch information
leoliu committed Jul 22, 2020
1 parent b2d301c commit ad7e500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default class NodeStore extends Base {
const result = await request.get(
`${this.getResourceUrl(params)}/${params.name}`
)
const detail = { ...params, ...this.mapper(result) }
const detail = { ...params, ...this.mapper(result), kind: 'Node' }

this.detail = detail
this.isLoading = false
Expand Down

0 comments on commit ad7e500

Please sign in to comment.