Keeping the visible and hidden options when you change the grouping (#873)

This commit is contained in:
Jesús Espino 2021-08-02 23:08:26 +02:00 committed by GitHub
parent e481ba7170
commit 81166b56e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -447,8 +447,6 @@ class Mutator {
async changeViewGroupById(view: BoardView, groupById: string): Promise<void> {
const newView = createBoardView(view)
newView.fields.groupById = groupById
newView.fields.hiddenOptionIds = []
newView.fields.visibleOptionIds = []
await this.updateBlock(newView, view, 'group by')
}