Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Commit

Permalink
datepickerExample on instrumentation dashboard && new build
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristian Pinto committed May 8, 2018
1 parent 5ea6860 commit 96a3f30
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 1,165 deletions.
4 changes: 2 additions & 2 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"main.css": "static/css/main.526645cd.css",
"main.css.map": "static/css/main.526645cd.css.map",
"main.js": "static/js/main.ae057dc7.js",
"main.js.map": "static/js/main.ae057dc7.js.map"
"main.js": "static/js/main.2f18ded5.js",
"main.js.map": "static/js/main.2f18ded5.js.map"
}
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="shortcut icon" href="/favicon.ico"><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500"/><title>React App</title><link href="/static/css/main.526645cd.css" rel="stylesheet"></head><body><div id="root"></div><script type="text/javascript" src="/static/js/main.ae057dc7.js"></script></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="shortcut icon" href="/favicon.ico"><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500"/><title>React App</title><link href="/static/css/main.526645cd.css" rel="stylesheet"></head><body><div id="root"></div><script type="text/javascript" src="/static/js/main.2f18ded5.js"></script></body></html>
2 changes: 1 addition & 1 deletion build/service-worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions client/src/components/generic/DatePickerFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,8 @@ export default class DatePickerFilter extends GenericComponent<any, any> {
const { title, subtitle, icon } = this.props;
const { visible, selectedValue} = this.state;

const paperStyle = visible ?
classNames.menu.join(' ') + 'md-paper md-paper--1'
: classNames.menu.join(' ');
const labelStyle = visible ?
classNames.label.join(' ') + 'md-floating-label--active'
: classNames.label.join(' ');
const paperStyle = classNames.menu.join(' ') + (visible ? 'md-paper md-paper--1' : '');
const labelStyle = classNames.label.join(' ') + (visible ? 'md-floating-label--active' : '');

const selectDateRange = selectedValue ? this.toPrettyDateRange(selectedValue) : (subtitle || 'Select range');

Expand Down
Loading

0 comments on commit 96a3f30

Please sign in to comment.