Keeping the visible and hidden options when you change the grouping (#873)
This commit is contained in:
parent
e481ba7170
commit
81166b56e4
1 changed files with 0 additions and 2 deletions
|
@ -447,8 +447,6 @@ class Mutator {
|
||||||
async changeViewGroupById(view: BoardView, groupById: string): Promise<void> {
|
async changeViewGroupById(view: BoardView, groupById: string): Promise<void> {
|
||||||
const newView = createBoardView(view)
|
const newView = createBoardView(view)
|
||||||
newView.fields.groupById = groupById
|
newView.fields.groupById = groupById
|
||||||
newView.fields.hiddenOptionIds = []
|
|
||||||
newView.fields.visibleOptionIds = []
|
|
||||||
await this.updateBlock(newView, view, 'group by')
|
await this.updateBlock(newView, view, 'group by')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue