mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
settings_profile_fields: Use named export from sortablejs.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
19e4328a7b
commit
ac4e293da5
@@ -40,7 +40,7 @@ page_params.custom_profile_field_types = {
|
||||
},
|
||||
};
|
||||
|
||||
rewiremock("sortablejs").with({default: {create: () => {}}});
|
||||
rewiremock("sortablejs").with({Sortable: {create: () => {}}});
|
||||
|
||||
rewiremock.enable();
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
const {default: Sortable} = require("sortablejs");
|
||||
const {Sortable} = require("sortablejs");
|
||||
|
||||
const render_admin_profile_field_list = require("../templates/admin_profile_field_list.hbs");
|
||||
const render_settings_profile_field_choice = require("../templates/settings/profile_field_choice.hbs");
|
||||
|
||||
Reference in New Issue
Block a user