Limit navbar status display
This commit is contained in:
parent
e1f0cf60a1
commit
83df45f693
|
@ -103,7 +103,7 @@ class KlipperPlugin(
|
|||
|
||||
if "!!" in line:
|
||||
msg = line.strip('!')
|
||||
self.updateStatus("error", msg)
|
||||
self.updateStatus("error", "Error")
|
||||
self.logError(msg)
|
||||
|
||||
return line
|
||||
|
|
|
@ -45,7 +45,6 @@ $(function() {
|
|||
|
||||
self.onAfterBinding = function() {
|
||||
self.connectionState.selectedPort(self.settings.settings.plugins.klipper.serialport());
|
||||
self.shortStatus("Idle");
|
||||
}
|
||||
|
||||
self.onDataUpdaterPluginMessage = function(plugin, message) {
|
||||
|
|
|
@ -1 +1 @@
|
|||
<a href="#tab_plugin_klipper_main" data-bind="text: shortStatus">Idle</a>
|
||||
<a href="#tab_plugin_klipper_main" data-bind="text: shortStatus"></a>
|
||||
|
|
Loading…
Reference in New Issue