Added actors page. Added site logos with overview on network page.

This commit is contained in:
2019-11-10 04:20:22 +01:00
parent 76618cee83
commit a9b91ff76c
44 changed files with 1065 additions and 13 deletions

View File

@@ -0,0 +1,22 @@
import { get } from '../api';
function initNetworksActions(_store, _router) {
async function fetchNetworks({ _commit }, networkId) {
const networks = await get(`/networks/${networkId || ''}`);
return networks;
}
async function fetchNetworkReleases({ _commit }, networkId) {
const releases = await get(`/networks/${networkId}/releases`);
return releases;
}
return {
fetchNetworks,
fetchNetworkReleases,
};
}
export default initNetworksActions;

View File

@@ -0,0 +1 @@
export default {};

View File

@@ -0,0 +1,13 @@
import state from './state';
import mutations from './mutations';
import actions from './actions';
function initNetworksStore(store, router) {
return {
state,
mutations,
actions: actions(store, router),
};
}
export default initNetworksStore;

View File

@@ -0,0 +1 @@
export default {};