Fix empty sort value
This commit is contained in:
parent
2966384e03
commit
6ddeea2044
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ export default class AdminIndexesItemDocumentsIndexController extends Controller
|
|||
|
||||
@action
|
||||
setSort(newSort) {
|
||||
this.sort = [newSort];
|
||||
this.sort = newSort ? [newSort] : [];
|
||||
}
|
||||
|
||||
@action
|
||||
|
|
|
|||
Loading…
Reference in a new issue