提交 03a5cde4 编写于 作者: R rsercano

fixing double initializiation

上级 6b4e3ea2
......@@ -422,6 +422,7 @@ Template.userManagement.onRendered(function () {
let connections = this.subscribe('connections');
let actions = this.subscribe('actions');
let initialized = false;
this.autorun(() => {
if (settings.ready() && connections.ready() && actions.ready()) {
Ladda.create(document.querySelector('#btnRefreshUsers')).start();
......@@ -433,7 +434,10 @@ Template.userManagement.onRendered(function () {
chckRunOnAdminDB.iCheck('uncheck');
initUserTree();
if (!initialized) {
initialized = true;
initUserTree();
}
//new Clipboard('.reference');
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册