Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1262fa39
Commit
1262fa39
authored
Feb 21, 2020
by
Brandon Labuschagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enforce max daterange on VSA
parent
fc50a42d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
ee/app/assets/javascripts/analytics/shared/components/daterange.vue
...ets/javascripts/analytics/shared/components/daterange.vue
+8
-0
No files found.
ee/app/assets/javascripts/analytics/shared/components/daterange.vue
View file @
1262fa39
...
...
@@ -33,6 +33,13 @@ export default {
rerquired
:
false
,
default
:
null
,
},
maxDate
:
{
type
:
Date
,
required
:
false
,
default
()
{
return
new
Date
();
},
},
maxDateRange
:
{
type
:
Number
,
required
:
false
,
...
...
@@ -73,6 +80,7 @@ export default {
:default-end-date=
"endDate"
:default-min-date=
"minDate"
:max-date-range=
"maxDateRange"
:default-max-date=
"maxDate"
theme=
"animate-picker"
start-picker-class=
"js-daterange-picker-from d-flex flex-column flex-lg-row align-items-lg-center mr-lg-2 mb-2 mb-md-0"
end-picker-class=
"js-daterange-picker-to d-flex flex-column flex-lg-row align-items-lg-center"
...
...
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