diff --git a/InvenTree/templates/js/model_renderers.js b/InvenTree/templates/js/model_renderers.js
index 257d296eff..ddb4897d8d 100644
--- a/InvenTree/templates/js/model_renderers.js
+++ b/InvenTree/templates/js/model_renderers.js
@@ -67,9 +67,9 @@ function renderStockItem(name, data, parameters, options) {
// Renderer for "StockLocation" model
function renderStockLocation(name, data, parameters, options) {
- var level = '-'.repeat(data.level);
+ var level = '- '.repeat(data.level);
- var html = `${level} ${data.pathstring}`;
+ var html = `${level}${data.pathstring}`;
if (data.description) {
html += ` - ${data.description}`;
@@ -152,9 +152,9 @@ function renderOwner(name, data, parameters, options) {
// Renderer for "PartCategory" model
function renderPartCategory(name, data, parameters, options) {
- var level = '-'.repeat(data.level);
+ var level = '- '.repeat(data.level);
- var html = `${level} ${data.pathstring}`;
+ var html = `${level}${data.pathstring}`;
if (data.description) {
html += ` - ${data.description}`;