Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Motion Bank
MB.js
Quasar Components Shared
Commits
f120e181
Commit
f120e181
authored
Apr 10, 2019
by
Anton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update constants.MAP_TYPE... to constants.mapTypes.MAP_TYPE...
parent
df4178c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
forms/UsersTable.vue
forms/UsersTable.vue
+1
-1
partials/Tags.vue
partials/Tags.vue
+2
-2
No files found.
forms/UsersTable.vue
View file @
f120e181
...
...
@@ -128,7 +128,7 @@
handler
()
{
context
.
payload
.
author
=
context
.
$store
.
state
.
auth
.
payload
.
userId
if
(
!
context
.
$route
.
params
.
uuid
)
{
context
.
payload
.
type
=
[
constants
.
MAP_TYPE_TIMELINE
]
context
.
payload
.
type
=
[
constants
.
mapTypes
.
MAP_TYPE_TIMELINE
]
}
return
Promise
.
resolve
()
.
then
(()
=>
{
...
...
partials/Tags.vue
View file @
f120e181
...
...
@@ -99,13 +99,13 @@
typeFromRoute
()
{
let
path
=
this
.
$route
.
path
if
(
/.+
\/
timelines
\/[^/]
+
\/
edit$/
.
test
(
path
))
{
return
constants
.
MAP_TYPE_TIMELINE
return
constants
.
mapTypes
.
MAP_TYPE_TIMELINE
}
else
if
(
/.+
\/
videos
\/[^/]
+
\/
edit$/
.
test
(
path
))
{
return
'
Video
'
}
else
if
(
/.+
\/
grids
\/[^/]
+
\/
edit$/
.
test
(
path
))
{
return
constants
.
MAP_TYPE_2D_GRID
return
constants
.
mapTypes
.
MAP_TYPE_2D_GRID
}
else
{
return
'
Unknown
'
...
...
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