* [MM-23391] Sort sidebar teams order by user preference * Update imports Co-authored-by: Elias Nahum <nahumhbl@gmail.com> * Small changes to selector from review * Select first ordered team in user preference on login * Check teams length instead Co-authored-by: Elias Nahum <nahumhbl@gmail.com> * Return early if teamsOrder is empty * Return sorted copy of teams instead of mutating original array Co-authored-by: Elias Nahum <nahumhbl@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| channel_utils.test.js | ||
| channel_utils.ts | ||
| deep_freeze.ts | ||
| delayed_action.ts | ||
| emoji_utils.test.js | ||
| emoji_utils.ts | ||
| event_emitter.ts | ||
| file_utils.test.js | ||
| file_utils.ts | ||
| gfycat_sdk.ts | ||
| group_utils.test.js | ||
| group_utils.ts | ||
| helpers.test.js | ||
| helpers.ts | ||
| i18n_utils.test.js | ||
| i18n_utils.ts | ||
| integration_utils.test.js | ||
| integration_utils.ts | ||
| key_mirror.ts | ||
| notify_props.test.js | ||
| notify_props.ts | ||
| post_list.test.js | ||
| post_list.ts | ||
| post_utils.test.js | ||
| post_utils.ts | ||
| preference_utils.ts | ||
| sentry.test.js | ||
| sentry.ts | ||
| team_utils.test.js | ||
| team_utils.ts | ||
| theme_utils.test.js | ||
| theme_utils.ts | ||
| timezone_utils.ts | ||
| user_utils.test.js | ||
| user_utils.ts | ||