HM-29 фильтр таблицы апи (#24)

* HM-29 Сделал фильтр по макету + добавил кнопку создания апишки, добавлен так же интерфейс создания апи, но он нуждается в редактировании и будет улучшен в отдельной ветке
This commit is contained in:
mrPadre
2020-07-21 22:32:04 +03:00
committed by GitHub
parent 1815fb62d9
commit 19a29e5b1c
14 changed files with 245 additions and 11 deletions

View File

@ -1,11 +1,14 @@
import Component from '../component/index';
import TableComponent from '../table-component';
import storageApi from '../../api/StorageServiceAPI';
import FilterApiComponent from '../search-component/index';
class ApiPage extends Component {
constructor (mainNodeSelector, parentNode) {
super(mainNodeSelector, parentNode);
this.filterBox = new FilterApiComponent(this.mainNode);
const initStorageListTable = async () => {
const list = await storageApi.request();
const storageListTable = new TableComponent(this.mainNode);