Merge branch '18195-Refresh-Button-does-not-seem-to-refresh-the-sidebar-tree' into...
[arvados-workbench2.git] / src / store / vocabulary / vocabulary-actions.ts
index 799cffa034f01f026aedfc5c6ef52e71ff6d2d59..d73c01fe909f14aedc28d8a25b6a7229c7ae8afe 100644 (file)
@@ -3,14 +3,13 @@
 // SPDX-License-Identifier: AGPL-3.0
 
 import { Dispatch } from 'redux';
-import { ServiceRepository } from '~/services/services';
-import { propertiesActions } from '~/store/properties/properties-actions';
-import { VOCABULARY_PROPERTY_NAME, DEFAULT_VOCABULARY } from './vocabulary-selctors';
-import { isVocabulary } from '~/models/vocabulary';
+import { ServiceRepository } from 'services/services';
+import { propertiesActions } from 'store/properties/properties-actions';
+import { VOCABULARY_PROPERTY_NAME, DEFAULT_VOCABULARY } from './vocabulary-selectors';
+import { isVocabulary } from 'models/vocabulary';
 
 export const loadVocabulary = async (dispatch: Dispatch, _: {}, { vocabularyService }: ServiceRepository) => {
     const vocabulary = await vocabularyService.getVocabulary();
-
     dispatch(propertiesActions.SET_PROPERTY({
         key: VOCABULARY_PROPERTY_NAME,
         value: isVocabulary(vocabulary)