mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-12 10:05:39 +00:00
P-UI: Fast language / theme / server selection (#5301)
* added language toggle component * added language and theme controls onto start page * moved host selection out of auth * optimized rendering * make server option less obvious * changed EditButton save symbol * longer welcome text * removed ColorToggle color schema * reduced code * disabled host selection when options are changing * fix type error * use GH reporter * fix tests? * compile frontend * fix assertation * revert unneeded change * split up into more components * separated functions / use cases for LanguageToggle more * moved color toggle to profile * moved language out of main menu into profile * remapped settings link
This commit is contained in:
2
tasks.py
2
tasks.py
@ -129,7 +129,7 @@ def node_available(versions: bool = False, bypass_yarn: bool = False):
|
||||
print('Node is available but yarn is not. Install yarn if you wish to build the frontend.')
|
||||
|
||||
# Return the result
|
||||
return ret((not yarn_passes or not node_version), node_version, yarn_version)
|
||||
return ret(yarn_passes and node_version, node_version, yarn_version)
|
||||
|
||||
|
||||
def check_file_existance(filename: str, overwrite: bool = False):
|
||||
|
Reference in New Issue
Block a user