Commit 1e9f9147 authored by PDuarte's avatar PDuarte

back log fixs

parent 8b50f7c8
......@@ -2,15 +2,15 @@ import { Package, Briefcase, HardDrive, Globe, Flag } from 'react-feather'
export default [
{
id: 'Playlists',
title: 'Playlists',
id: 'Assets',
title: 'Assets',
icon: <Package />,
children: [
{
id: 'playlistsDash',
title: 'Project Playlists',
id: 'assetsDash',
title: 'Project Assets',
icon: <Briefcase />,
navLink: '/playlists/projectplaylists'
navLink: '/assets/projectassets'
}
]
}
......
......@@ -2,15 +2,15 @@ import { Package, Briefcase, HardDrive, Globe, Flag } from 'react-feather'
export default [
{
id: 'Assets',
title: 'Assets',
id: 'Playlists',
title: 'Playlists',
icon: <Package />,
children: [
{
id: 'assetsDash',
title: 'Project Assets',
id: 'playlistsDash',
title: 'Project Playlists',
icon: <Briefcase />,
navLink: '/assets/projectassets'
navLink: '/playlists/projectplaylists'
}
]
}
......
......@@ -10,12 +10,14 @@ import chartsAndMaps from './charts-maps'
import settings from './settings'
import screens from '../global/screens'
import menupages from '../global/pages'
import playlists from '../global/playllists'
import playlists from '../global/playlists'
import assets from '../global/assets'
// ** Merge & Export
export default [
// ...dashboards,
...screens,
...assets,
...playlists,
...menupages,
...settings
......
......@@ -11,13 +11,15 @@ import chartsAndMaps from './charts-maps'
import settings from './settings'
import screens from '../global/screens'
import pages from '../global/pages'
import playlists from '../global/playllists'
import playlists from '../global/playlists'
import assets from '../global/assets'
// ** Merge & Export
export default [
// ...dashboards,
...screens,
...assets,
...playlists,
...pages,
...settings
......
// ** React Imports
import { Link } from 'react-router-dom'
// import { cleanLayoutMenu } from '../store/actions'
import { cleanasset } from '../store/actions'
import { store } from '@store/storeConfig/store'
// ** Custom Components
......@@ -228,7 +228,7 @@ export const serverSideColumns = [
<Link
to={`${moduleSettings.baseURL}/edit/${row.id}`}
className='user-name text-truncate mb-0'
// onClick={() => store.dispatch(cleanLayoutMenu(row.id))}
onClick={() => store.dispatch(cleanasset(row.id))}
>
<span className='font-weight-bold'>{row.title}</span>
</Link>
......
......@@ -72,7 +72,7 @@ export const getData_assets = params => {
export const cleanasset = id => {
return async dispatch => {
dispatch({
type: 'GET_ASSETS',
type: 'GET_ASSET',
data: null
})
}
......
// ** React Imports
import { Link } from 'react-router-dom'
// import { cleanLayoutMenu } from '../store/actions'
import { cleanMenupages } from '../store/actions'
import { store } from '@store/storeConfig/store'
// ** Custom Components
......@@ -228,7 +228,7 @@ export const serverSideColumns = [
<Link
to={`${moduleSettings.baseURL}/edit/${row.id}`}
className='user-name text-truncate mb-0'
// onClick={() => store.dispatch(cleanLayoutMenu(row.id))}
onClick={() => store.dispatch(cleanMenupages(row.id))}
>
<span className='font-weight-bold'>{row.system_name}</span>
</Link>
......
......@@ -69,10 +69,10 @@ export const getData_menupages = params => {
}
}
export const cleanmenupages = id => {
export const cleanMenupages = id => {
return async dispatch => {
dispatch({
type: 'GET_MENUPAGES',
type: 'GET_MENUPAGE',
data: null
})
}
......
// ** React Imports
import { Link } from 'react-router-dom'
// import { cleanLayoutMenu } from '../store/actions'
import { cleanplaylist } from '../store/actions'
import { store } from '@store/storeConfig/store'
// ** Custom Components
......@@ -228,7 +228,7 @@ export const serverSideColumns = [
<Link
to={`${moduleSettings.baseURL}/edit/${row.id}`}
className='user-name text-truncate mb-0'
// onClick={() => store.dispatch(cleanLayoutMenu(row.id))}
onClick={() => store.dispatch(cleanplaylist(row.id))}
>
<span className='font-weight-bold'>{row.title}</span>
</Link>
......
......@@ -72,7 +72,7 @@ export const getData_playlists = params => {
export const cleanplaylist = id => {
return async dispatch => {
dispatch({
type: 'GET_PLAYLISTS',
type: 'GET_PLAYLIST',
data: null
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment