Small bug fix that prevented deleting profiles
This commit is contained in:
parent
2c5f2f0bf8
commit
a9c38cb779
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ $(function() {
|
|||
return (item.key == data.key);
|
||||
});
|
||||
|
||||
OctoPrint.slicing.deleteProfileForSlicer("cura", data.key, {url: data.resource})
|
||||
OctoPrint.slicing.deleteProfileForSlicer("cura", data.key, {url: data.resource()})
|
||||
.done(function() {
|
||||
self.requestData();
|
||||
self.slicingViewModel.requestData();
|
||||
|
|
|
|||
Loading…
Reference in a new issue