Skip to content

Commit 46a01b8

Browse files
committed
New Version 1.4.2
- B #164 missing 'h' - B Ticket PjH 148 wrong weight was picked
1 parent 1c58e67 commit 46a01b8

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ If you like it, I would be thankful about a cup of coffee :)
1515

1616
## Tested with:
1717
- OctoPrint 1.5.2: with Python 3.6.8 and Python 2.7.9
18-
- OctoPrint 1.4.2: OPEN
1918

2019
## Included features
2120

octoprint_SpoolManager/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def api_getSelectedSpoolInformations(self):
477477
"colorName": spoolModel.colorName,
478478
"color": spoolModel.color,
479479
"cost": spoolModel.cost,
480-
"weight": spoolModel.weight
480+
"weight": spoolModel.totalWeight
481481
}
482482
result.append(spoolData)
483483

octoprint_SpoolManager/templates/SpoolManager_tab.jinja2

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
Show spools:
4343
<a href="#" data-bind="click: function() { spoolItemTableHelper.changeFilter('all'); }"><i class="icon-ok" data-bind="style: {visibility: spoolItemTableHelper.isFilterSelected('all') ? 'visible' : 'hidden'}"></i> all</a> |
4444
<a href="#" data-bind="click: function() { spoolItemTableHelper.changeFilter('hideEmptySpools'); }"><i class="icon-ok" data-bind="style: {visibility: spoolItemTableHelper.isFilterSelected('hideEmptySpools') ? 'visible' : 'hidden'}"></i> hide empty</a> |
45-
<a href="#" data-bind="click: function() { spoolItemTableHelper.changeFilter('hideInactiveSpools'); }"><i class="icon-ok" data-bind="style: {visibility: spoolItemTableHelper.isFilterSelected('hideInactiveSpools') ? 'visible' : 'hidden'}"></i> <h></h>ide inactive</a>
45+
<a href="#" data-bind="click: function() { spoolItemTableHelper.changeFilter('hideInactiveSpools'); }"><i class="icon-ok" data-bind="style: {visibility: spoolItemTableHelper.isFilterSelected('hideInactiveSpools') ? 'visible' : 'hidden'}"></i> hide inactive</a>
4646
<!-- <a href="#" data-bind="click: function() { printJobHistoryTableHelper.changeFilter('onlyFailed'); }"><i class="icon-ok" data-bind="style: {visibility: printJobHistoryTableHelper.isFilterSelected('onlyFailed') ? 'visible' : 'hidden'}"></i> only failed</a>-->
4747
</small>
4848
</div>

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
1717
#
18-
plugin_version = "1.4.1"
18+
plugin_version = "1.4.2"
1919

2020
# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
2121
# module

0 commit comments

Comments
 (0)