* WIP make location select a separate component
* trying ...
* fix update of geolocale from component
* clean up location select code
* refactor code
* refactor code
* clean up
* linting
* add first unit tests for location select
* reuse location setting component in user settings
* get it working
* fix unit test
* Update webapp/components/Select/LocationSelect.vue
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
* Update webapp/components/Select/LocationSelect.spec.js
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
* Update webapp/components/Select/LocationSelect.spec.js
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
---------
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
Co-authored-by: ogerly <fridolin@tutanota.com>
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
* after authentification, query the categories if active and store them
* get categories from store
* use category store to get categories
* get categories from store
* mock store to have access to categories
* to get rid of the active categories config variable in the frontend, the Category query returns an empty array when categories are not active
* remove CATEGORIES_ACTIVE from .env
* should return string to avoid warnings in console
* replace all env calls for categories active by getter from store
* use categoriesActive getter
* ignore order of returned categories
* mixin to get the category infos from the store, to ensure, that the quey has been called
* fix misspelling
---------
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>