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
73e82e4f
Commit
73e82e4f
authored
Dec 02, 2020
by
Richard Blechinger
Browse files
Reenable warning about playlists starting at previous dates
parent
e675d9df
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/components/emissions/ModalCreate.vue
View file @
73e82e4f
...
@@ -134,9 +134,9 @@
...
@@ -134,9 +134,9 @@
// conflict resolution
// conflict resolution
let
now
=
this
.
apiDate
(
new
Date
())
let
now
=
this
.
apiDate
(
new
Date
())
if
(
this
.
valuePick
.
dstart
<
now
)
{
if
(
this
.
valuePick
.
dstart
<
now
)
{
//
this.valuePick.dstart = now
this
.
valuePick
.
dstart
=
now
//
this.pastEventWarning = true
this
.
pastEventWarning
=
true
//
return
return
}
else
{
}
else
{
this
.
pastEventWarning
=
false
this
.
pastEventWarning
=
false
}
}
...
@@ -213,8 +213,8 @@
...
@@ -213,8 +213,8 @@
let
until
=
end
.
format
(
'
YYYY-MM-DD
'
)
let
until
=
end
.
format
(
'
YYYY-MM-DD
'
)
let
now
=
this
.
apiDate
(
new
Date
())
let
now
=
this
.
apiDate
(
new
Date
())
if
(
dstart
<
now
)
{
if
(
dstart
<
now
)
{
//
dstart = now
dstart
=
now
//
this.pastEventWarning = true
this
.
pastEventWarning
=
true
}
else
{
}
else
{
this
.
pastEventWarning
=
false
this
.
pastEventWarning
=
false
}
}
...
...
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