mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-30 18:50:53 +00:00
Add codecov (#6967)
* add codecov upload * add to readme * add flags * dummy change * dummy change * switch to inventree org * add codecov yaml * lower threshold (for now) see https://github.com/inventree/InvenTree/pull/6945 for a possibility to get it up again
This commit is contained in:
@ -385,6 +385,7 @@ if settings.ENABLE_CLASSIC_FRONTEND:
|
||||
|
||||
classic_frontendpatterns = [
|
||||
# Apps
|
||||
#
|
||||
path('build/', include(build_urls)),
|
||||
path('common/', include(common_urls)),
|
||||
path('company/', include(company_urls)),
|
||||
|
@ -30,6 +30,7 @@ let loaded_vals = (window.INVENTREE_SETTINGS || {}) as any;
|
||||
Object.keys(loaded_vals).forEach((key) => {
|
||||
if (loaded_vals[key] === undefined) {
|
||||
delete loaded_vals[key];
|
||||
|
||||
// check for empty server list
|
||||
} else if (key === 'server_list' && loaded_vals[key].length === 0) {
|
||||
delete loaded_vals[key];
|
||||
|
Reference in New Issue
Block a user