mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-09 21:32:17 -06:00
cleanup
This commit is contained in:
2
netbox/project-static/dist/netbox.js
vendored
2
netbox/project-static/dist/netbox.js
vendored
File diff suppressed because one or more lines are too long
4
netbox/project-static/dist/netbox.js.map
vendored
4
netbox/project-static/dist/netbox.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -109,9 +109,11 @@ export class DynamicTomSelect extends TomSelect {
|
||||
}
|
||||
});
|
||||
|
||||
self.loading = Math.max(self.loading - 1, 0);
|
||||
if (self.loading === 0) {
|
||||
self.wrapper.classList.remove(self.settings.loadingClass as string);
|
||||
if (self.loading > 0) {
|
||||
self.loading--;
|
||||
if (self.loading === 0) {
|
||||
self.wrapper.classList.remove(self.settings.loadingClass as string);
|
||||
}
|
||||
}
|
||||
|
||||
if (currentValue && !self.items.includes(currentValue as string)) {
|
||||
|
||||
Reference in New Issue
Block a user