Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
C
cms
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Pedro-dev_2
cms
Commits
ddadb6e5
Commit
ddadb6e5
authored
Jun 24, 2021
by
PDuarte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
locations ui fixs
parent
a545eea6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
+13
-4
index.js
src/views/settings/locations/add/index.js
+1
-1
data.js
src/views/settings/locations/data.js
+2
-2
index.js
src/views/settings/locations/edit/index.js
+1
-1
index.js
src/views/settings/store/actions/index.js
+9
-0
No files found.
src/views/settings/locations/add/index.js
View file @
ddadb6e5
...
...
@@ -40,7 +40,7 @@ const Tables = () => {
return
(
<
Fragment
>
<
Breadcrumbs
breadCrumbTitle
=
'
Assets'
breadCrumbParent
=
'Asset
s'
breadCrumbActive
=
{
moduleSettings
.
mainTitle
}
/
>
<
Breadcrumbs
breadCrumbTitle
=
'
Settings'
breadCrumbParent
=
'Setting
s'
breadCrumbActive
=
{
moduleSettings
.
mainTitle
}
/
>
<
Row
>
<
Col
sm
=
'12'
>
<
Link
to
=
{
moduleSettings
.
baseURL
}
>
Back
to
{
moduleSettings
.
mainTitle
}
<
/Link
>
...
...
src/views/settings/locations/data.js
View file @
ddadb6e5
...
...
@@ -2,7 +2,7 @@
import
{
Link
}
from
'react-router-dom'
// ** Store & Actions
import
{
getProject
,
clean
Project
}
from
'../store/actions'
import
{
getProject
,
clean
Location
}
from
'../store/actions'
import
{
store
}
from
'@store/storeConfig/store'
// ** Custom Components
...
...
@@ -260,7 +260,7 @@ export const serverSideColumns = [
<
Link
to
=
{
`
${
moduleSettings
.
baseURL
}
/edit/
${
row
.
id
}
`
}
className
=
'user-name text-truncate mb-0'
onClick
=
{()
=>
store
.
dispatch
(
clean
Project
(
row
.
id
))}
onClick
=
{()
=>
store
.
dispatch
(
clean
Location
(
row
.
id
))}
>
<
span
className
=
'font-weight-bold'
>
{
row
.
name
}
<
/span
>
<
/Link
>
...
...
src/views/settings/locations/edit/index.js
View file @
ddadb6e5
...
...
@@ -18,7 +18,7 @@ import moduleSettings from '../module'
const
Tables
=
()
=>
{
return
(
<
Fragment
>
<
Breadcrumbs
breadCrumbTitle
=
'
Assets'
breadCrumbParent
=
'Asset
s'
breadCrumbActive
=
{
moduleSettings
.
mainTitle
}
/
>
<
Breadcrumbs
breadCrumbTitle
=
'
Settings'
breadCrumbParent
=
'Setting
s'
breadCrumbActive
=
{
moduleSettings
.
mainTitle
}
/
>
<
Row
>
<
Col
sm
=
'12'
>
<
Link
to
=
{
moduleSettings
.
baseURL
}
>
Back
to
{
moduleSettings
.
mainTitleSingle
}
<
/Link
>
...
...
src/views/settings/store/actions/index.js
View file @
ddadb6e5
...
...
@@ -245,3 +245,12 @@ export const updateLocation = location => {
})
}
}
export
const
cleanLocation
=
id
=>
{
return
async
dispatch
=>
{
dispatch
({
type
:
'GET_LOCATION'
,
data
:
null
})
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment