mirror of
https://github.com/zulip/zulip.git
synced 2025-11-21 23:19:10 +00:00
When non-admin users visit the custom profile fields settings page,
the `Sortable` error
Uncaught Sortable: `el` must be HTMLElement, and not
[object Undefined]
is thrown, with `undefined: undefined | No stacktrace available` being
shown in the browser. Fix this by only using `Sortable` if the user is
an admin.
Fix #10403.
12 KiB
12 KiB