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' ...@@ -2,15 +2,15 @@ import { Package, Briefcase, HardDrive, Globe, Flag } from 'react-feather'
export default [ export default [
{ {
id: 'Playlists', id: 'Assets',
title: 'Playlists', title: 'Assets',
icon: <Package />, icon: <Package />,
children: [ children: [
{ {
id: 'playlistsDash', id: 'assetsDash',
title: 'Project Playlists', title: 'Project Assets',
icon: <Briefcase />, icon: <Briefcase />,
navLink: '/playlists/projectplaylists' navLink: '/assets/projectassets'
} }
] ]
} }
......
...@@ -2,15 +2,15 @@ import { Package, Briefcase, HardDrive, Globe, Flag } from 'react-feather' ...@@ -2,15 +2,15 @@ import { Package, Briefcase, HardDrive, Globe, Flag } from 'react-feather'
export default [ export default [
{ {
id: 'Assets', id: 'Playlists',
title: 'Assets', title: 'Playlists',
icon: <Package />, icon: <Package />,
children: [ children: [
{ {
id: 'assetsDash', id: 'playlistsDash',
title: 'Project Assets', title: 'Project Playlists',
icon: <Briefcase />, icon: <Briefcase />,
navLink: '/assets/projectassets' navLink: '/playlists/projectplaylists'
} }
] ]
} }
......
...@@ -10,12 +10,14 @@ import chartsAndMaps from './charts-maps' ...@@ -10,12 +10,14 @@ import chartsAndMaps from './charts-maps'
import settings from './settings' import settings from './settings'
import screens from '../global/screens' import screens from '../global/screens'
import menupages from '../global/pages' import menupages from '../global/pages'
import playlists from '../global/playllists' import playlists from '../global/playlists'
import assets from '../global/assets'
// ** Merge & Export // ** Merge & Export
export default [ export default [
// ...dashboards, // ...dashboards,
...screens, ...screens,
...assets,
...playlists, ...playlists,
...menupages, ...menupages,
...settings ...settings
......
...@@ -11,13 +11,15 @@ import chartsAndMaps from './charts-maps' ...@@ -11,13 +11,15 @@ import chartsAndMaps from './charts-maps'
import settings from './settings' import settings from './settings'
import screens from '../global/screens' import screens from '../global/screens'
import pages from '../global/pages' import pages from '../global/pages'
import playlists from '../global/playllists' import playlists from '../global/playlists'
import assets from '../global/assets'
// ** Merge & Export // ** Merge & Export
export default [ export default [
// ...dashboards, // ...dashboards,
...screens, ...screens,
...assets,
...playlists, ...playlists,
...pages, ...pages,
...settings ...settings
......
// ** React Imports // ** React Imports
import { Link } from 'react-router-dom' import { Link } from 'react-router-dom'
// import { cleanLayoutMenu } from '../store/actions' import { cleanasset } from '../store/actions'
import { store } from '@store/storeConfig/store' import { store } from '@store/storeConfig/store'
// ** Custom Components // ** Custom Components
...@@ -228,7 +228,7 @@ export const serverSideColumns = [ ...@@ -228,7 +228,7 @@ export const serverSideColumns = [
<Link <Link
to={`${moduleSettings.baseURL}/edit/${row.id}`} to={`${moduleSettings.baseURL}/edit/${row.id}`}
className='user-name text-truncate mb-0' 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> <span className='font-weight-bold'>{row.title}</span>
</Link> </Link>
......
...@@ -72,7 +72,7 @@ export const getData_assets = params => { ...@@ -72,7 +72,7 @@ export const getData_assets = params => {
export const cleanasset = id => { export const cleanasset = id => {
return async dispatch => { return async dispatch => {
dispatch({ dispatch({
type: 'GET_ASSETS', type: 'GET_ASSET',
data: null data: null
}) })
} }
......
// ** React Imports // ** React Imports
import { Link } from 'react-router-dom' import { Link } from 'react-router-dom'
// import { cleanLayoutMenu } from '../store/actions' import { cleanMenupages } from '../store/actions'
import { store } from '@store/storeConfig/store' import { store } from '@store/storeConfig/store'
// ** Custom Components // ** Custom Components
...@@ -228,7 +228,7 @@ export const serverSideColumns = [ ...@@ -228,7 +228,7 @@ export const serverSideColumns = [
<Link <Link
to={`${moduleSettings.baseURL}/edit/${row.id}`} to={`${moduleSettings.baseURL}/edit/${row.id}`}
className='user-name text-truncate mb-0' 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> <span className='font-weight-bold'>{row.system_name}</span>
</Link> </Link>
......
...@@ -69,10 +69,10 @@ export const getData_menupages = params => { ...@@ -69,10 +69,10 @@ export const getData_menupages = params => {
} }
} }
export const cleanmenupages = id => { export const cleanMenupages = id => {
return async dispatch => { return async dispatch => {
dispatch({ dispatch({
type: 'GET_MENUPAGES', type: 'GET_MENUPAGE',
data: null data: null
}) })
} }
......
// ** React Imports // ** React Imports
import { Link } from 'react-router-dom' import { Link } from 'react-router-dom'
// import { cleanLayoutMenu } from '../store/actions' import { cleanplaylist } from '../store/actions'
import { store } from '@store/storeConfig/store' import { store } from '@store/storeConfig/store'
// ** Custom Components // ** Custom Components
...@@ -228,7 +228,7 @@ export const serverSideColumns = [ ...@@ -228,7 +228,7 @@ export const serverSideColumns = [
<Link <Link
to={`${moduleSettings.baseURL}/edit/${row.id}`} to={`${moduleSettings.baseURL}/edit/${row.id}`}
className='user-name text-truncate mb-0' 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> <span className='font-weight-bold'>{row.title}</span>
</Link> </Link>
......
...@@ -72,7 +72,7 @@ export const getData_playlists = params => { ...@@ -72,7 +72,7 @@ export const getData_playlists = params => {
export const cleanplaylist = id => { export const cleanplaylist = id => {
return async dispatch => { return async dispatch => {
dispatch({ dispatch({
type: 'GET_PLAYLISTS', type: 'GET_PLAYLIST',
data: null 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