Hard code url - it is not always available

This commit is contained in:
Oliver 2022-03-24 16:34:31 +11:00
parent fcdd1eb55b
commit 2fc522ad15

View File

@ -233,10 +233,8 @@ function selectLabel(labels, items, options={}) {
// Request a list of available label printing plugins from the server // Request a list of available label printing plugins from the server
inventreeGet( inventreeGet(
'{% url "api-plugin-list" %}', `/api/plugins/`,
{ {},
},
{ {
async: false, async: false,
success: function(response) { success: function(response) {