mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Sorting: Renamed sort set to sort rule
Renamed based on feedback from Tim and Script on Discord. Also fixed flaky test
This commit is contained in:
@ -50,7 +50,7 @@ export {ShelfSort} from './shelf-sort';
|
||||
export {Shortcuts} from './shortcuts';
|
||||
export {ShortcutInput} from './shortcut-input';
|
||||
export {SortableList} from './sortable-list';
|
||||
export {SortSetManager} from './sort-set-manager'
|
||||
export {SortRuleManager} from './sort-rule-manager'
|
||||
export {SubmitOnChange} from './submit-on-change';
|
||||
export {Tabs} from './tabs';
|
||||
export {TagManager} from './tag-manager';
|
||||
|
@ -3,7 +3,7 @@ import Sortable from "sortablejs";
|
||||
import {buildListActions, sortActionClickListener} from "../services/dual-lists";
|
||||
|
||||
|
||||
export class SortSetManager extends Component {
|
||||
export class SortRuleManager extends Component {
|
||||
|
||||
protected input!: HTMLInputElement;
|
||||
protected configuredList!: HTMLElement;
|
||||
@ -25,7 +25,7 @@ export class SortSetManager extends Component {
|
||||
const scrollBoxes = [this.configuredList, this.availableList];
|
||||
for (const scrollBox of scrollBoxes) {
|
||||
new Sortable(scrollBox, {
|
||||
group: 'sort-set-operations',
|
||||
group: 'sort-rule-operations',
|
||||
ghostClass: 'primary-background-light',
|
||||
handle: '.handle',
|
||||
animation: 150,
|
Reference in New Issue
Block a user