config json viewer

This commit is contained in:
pypy
2020-09-08 21:26:09 +09:00
parent d8d7e4c004
commit 3773303928
2 changed files with 14 additions and 0 deletions

View File

@@ -5422,6 +5422,7 @@ CefSharp.BindObjectAsync(
// App: More
$app.data.configTreeData = [];
$app.data.currentUserTreeData = [];
$app.data.pastDisplayNameTable = {
data: [],
@@ -5531,6 +5532,10 @@ CefSharp.BindObjectAsync(
}
};
$app.methods.refreshConfigTreeData = function () {
this.configTreeData = buildTreeData(API.cachedConfig);
};
$app.methods.refreshCurrentUserTreeData = function () {
this.currentUserTreeData = buildTreeData(API.currentUser);
};