* HM-28 Добавил компонент таблицы
This commit is contained in:
mrPadre
2020-07-14 12:40:06 +03:00
committed by GitHub
parent b17313dbf6
commit 521a80c1e3
15 changed files with 186 additions and 6 deletions

View File

@ -1,6 +1,6 @@
import {v4 as uuidv4} from 'uuid';
import StorageServiceApi from './StorageServiceAPI';
import storageApi from './StorageServiceAPI';
/**
* @interface StoreListElement
@ -26,7 +26,7 @@ class StorageListApi {
/**
* @type {StorageServiceApi}
*/
this.api = new StorageServiceApi();
this.api = storageApi;
this.api.create({key, description, author, service_name, value: []});
/**
* @type {Object}

View File

@ -68,5 +68,6 @@ class StorageServiceApi {
return data;
}
}
const storageApi = new StorageServiceApi();
export default StorageServiceApi;
export default storageApi;