Skip to content

Commit

Permalink
fix(admin): fixed table action button display error
Browse files Browse the repository at this point in the history
  • Loading branch information
cg33 committed Dec 20, 2020
1 parent 7771526 commit b8bbefd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/admin/controller/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ func (h *Handler) showTable(ctx *context.Context, prefix string, params paramete
} else {
actionBtns, actionJs = allActionBtns.Content()
}
} else {
info.ActionButtonFold = false
}

btns, btnsJs := info.Buttons.CheckPermissionWhenURLAndMethodNotEmpty(user).Content()
Expand Down

0 comments on commit b8bbefd

Please sign in to comment.