1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

#6797: Don't show depth indicator in API select placeholder

This commit is contained in:
checktheroads
2021-07-30 01:03:26 -07:00
parent 5463fa7390
commit 772c76e0a4
6 changed files with 10 additions and 6 deletions

View File

@ -328,7 +328,7 @@ class APISelect {
if (!this.preSorted) {
this.preSorted = true;
}
text = `<span class="depth">${'─'.repeat(result._depth)}</span> ${text}`;
text = `<span class="depth">${'─'.repeat(result._depth)}&nbsp;</span>${text}`;
}
const data = {} as Record<string, string>;
const value = result.id.toString();