Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AURA
dashboard
Commits
0f5a6237
Commit
0f5a6237
authored
Jun 07, 2019
by
jackie / Andrea Ida Malkah Klaura
Browse files
FIX: change error details to detail due to tank upgrade
parent
d3701a6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/components/FileManager.vue
View file @
0f5a6237
...
...
@@ -1026,9 +1026,9 @@ export default {
// if there was a 409 Conflict response it means, that this file is
// still used in one or more playlists.
if
(
error
.
response
.
status
===
409
)
{
let
pls
=
error
.
response
.
data
.
detail
s
.
playlists
.
length
let
pls
=
error
.
response
.
data
.
detail
.
playlists
.
length
let
msg
=
'
Cannot delete file. Still used in
'
+
pls
+
'
playlists:
\n\n
'
for
(
let
pl
of
error
.
response
.
data
.
detail
s
.
playlists
)
{
for
(
let
pl
of
error
.
response
.
data
.
detail
.
playlists
)
{
msg
+=
'
ID:
'
+
pl
.
id
if
(
pl
.
description
)
{
msg
+=
'
(
'
+
pl
.
description
+
'
)
'
...
...
Write
Preview
Supports
Markdown
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