Skip to content

Commit

Permalink
Showing 9 changed files with 18 additions and 77 deletions.
26 changes: 0 additions & 26 deletions client/dist-dev/static/app.js
Original file line number Diff line number Diff line change
@@ -2943,20 +2943,6 @@ class Main extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
"for configuration to take effect");
}
};
this.onClassicIface = async () => {
_Config__WEBPACK_IMPORTED_MODULE_3__["default"].classic_interface = !_Config__WEBPACK_IMPORTED_MODULE_3__["default"].classic_interface;
await _Config__WEBPACK_IMPORTED_MODULE_3__["default"].save({
classic_interface: _Config__WEBPACK_IMPORTED_MODULE_3__["default"].classic_interface,
});
if (_Config__WEBPACK_IMPORTED_MODULE_3__["default"].classic_interface) {
_Alert__WEBPACK_IMPORTED_MODULE_13__.success("Switched to classic interface, restart client " +
"for configuration to take effect");
}
else {
_Alert__WEBPACK_IMPORTED_MODULE_13__.success("Switched to new interface, restart client " +
"for configuration to take effect");
}
};
this.onAlert = (toasts) => {
if (!toasts) {
document.getElementById("toaster2").style.display = "none";
@@ -3015,13 +3001,6 @@ class Main extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
else {
frameLabel = "Disable Window Frame";
}
let ifaceLabel = "";
if (_Config__WEBPACK_IMPORTED_MODULE_3__["default"].classic_interface) {
ifaceLabel = "Use New Interface";
}
else {
ifaceLabel = "Use Classic Interface";
}
let page;
switch (this.state.path) {
case "/":
@@ -3068,11 +3047,6 @@ class Main extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
this.onWindowFrame();
}
}, onClick: this.onWindowFrame }),
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_blueprintjs_core__WEBPACK_IMPORTED_MODULE_14__.MenuItem, { text: ifaceLabel, icon: "comparison", onKeyDown: (evt) => {
if (evt.key === "Enter") {
this.onClassicIface();
}
}, onClick: this.onClassicIface }),
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_blueprintjs_core__WEBPACK_IMPORTED_MODULE_14__.MenuItem, { text: "View Logs", icon: "history", onKeyDown: (evt) => {
if (evt.key === "Enter") {
this.setState({
2 changes: 1 addition & 1 deletion client/dist-dev/static/app.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions client/dist-dev/static/main.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions client/dist/index.html
Original file line number Diff line number Diff line change
@@ -23,8 +23,8 @@
<div id="toaster"></div>
<div id="toaster2"></div>
<script>
window.source_map = "static/app.180441.js.map"
window.source_map = "static/app.47492b.js.map"
</script>
<script src="static/app.180441.js"></script>
<script src="static/app.47492b.js"></script>
</body>
</html>
1 change: 0 additions & 1 deletion client/dist/static/app.180441.js.map

This file was deleted.

Original file line number Diff line number Diff line change
@@ -65506,20 +65506,6 @@ class Main extends react.Component {
"for configuration to take effect");
}
};
this.onClassicIface = async () => {
app_Config.classic_interface = !app_Config.classic_interface;
await app_Config.save({
classic_interface: app_Config.classic_interface,
});
if (app_Config.classic_interface) {
success("Switched to classic interface, restart client " +
"for configuration to take effect");
}
else {
success("Switched to new interface, restart client " +
"for configuration to take effect");
}
};
this.onAlert = (toasts) => {
if (!toasts) {
document.getElementById("toaster2").style.display = "none";
@@ -65578,13 +65564,6 @@ class Main extends react.Component {
else {
frameLabel = "Disable Window Frame";
}
let ifaceLabel = "";
if (app_Config.classic_interface) {
ifaceLabel = "Use New Interface";
}
else {
ifaceLabel = "Use Classic Interface";
}
let page;
switch (this.state.path) {
case "/":
@@ -65631,11 +65610,6 @@ class Main extends react.Component {
this.onWindowFrame();
}
}, onClick: this.onWindowFrame }),
react.createElement(MenuItem, { text: ifaceLabel, icon: "comparison", onKeyDown: (evt) => {
if (evt.key === "Enter") {
this.onClassicIface();
}
}, onClick: this.onClassicIface }),
react.createElement(MenuItem, { text: "View Logs", icon: "history", onKeyDown: (evt) => {
if (evt.key === "Enter") {
this.setState({
1 change: 1 addition & 0 deletions client/dist/static/app.47492b.js.map

Large diffs are not rendered by default.

27 changes: 10 additions & 17 deletions client/dist/static/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/dist/static/main.js.map

Large diffs are not rendered by default.

0 comments on commit 21fb81f

Please sign in to comment.