Skip to content

Commit 9a48d1b

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 9f213c8 + 79dbb95 commit 9a48d1b

31 files changed

+433
-330
lines changed
Binary file not shown.

frontend/front-srv/assets/access.settings/res/build/AdminLogs.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

frontend/front-srv/assets/access.settings/res/build/AdminLogs/board/LogBoard.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,13 @@ var LogBoard = (function (_React$Component) {
108108
}, {
109109
key: 'componentWillReceiveProps',
110110
value: function componentWillReceiveProps(newProps) {
111-
if (newProps.filter && newProps.filter !== this.state.filter) {
111+
if (typeof newProps.filter !== "undefined" && newProps.filter !== this.state.filter) {
112112
this.setState({ filter: newProps.filter, page: 0 });
113113
}
114-
if (newProps.date && newProps.date !== this.state.date) {
114+
if (typeof newProps.filter !== "undefined" && newProps.date && newProps.date !== this.state.date) {
115115
this.setState({ date: newProps.date, page: 0 });
116116
}
117-
if (newProps.endDate && newProps.endDate !== this.state.endDate) {
117+
if (typeof newProps.filter !== "undefined" && newProps.endDate && newProps.endDate !== this.state.endDate) {
118118
this.setState({ endDate: newProps.endDate, page: 0 });
119119
}
120120
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

frontend/front-srv/assets/access.settings/res/js/AdminLogs/board/LogBoard.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ class LogBoard extends React.Component {
6565
}
6666

6767
componentWillReceiveProps(newProps){
68-
if(newProps.filter && newProps.filter !== this.state.filter){
68+
if(typeof newProps.filter !== "undefined" && newProps.filter !== this.state.filter){
6969
this.setState({filter: newProps.filter, page: 0});
7070
}
71-
if(newProps.date && newProps.date !== this.state.date){
71+
if(typeof newProps.filter !== "undefined" && newProps.date && newProps.date !== this.state.date){
7272
this.setState({date: newProps.date, page: 0});
7373
}
74-
if(newProps.endDate && newProps.endDate !== this.state.endDate){
74+
if(typeof newProps.filter !== "undefined" && newProps.endDate && newProps.endDate !== this.state.endDate){
7575
this.setState({endDate: newProps.endDate, page: 0});
7676
}
7777
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)