mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-29 11:49:13 -04:00

* Added vite react admin ui. * Added react i18next. * Added pads manager. * Fixed docker build. * Fixed windows build. * Fixed installOnWindows script. * Install only if path exists.
6 lines
217 B
TypeScript
6 lines
217 B
TypeScript
export const determineSorting = (sortBy: string, ascending: boolean, currentSymbol: string) => {
|
|
if (sortBy === currentSymbol) {
|
|
return ascending ? 'sort up' : 'sort down';
|
|
}
|
|
return 'sort none';
|
|
}
|