Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit db5b1d8

Browse files
RICKRICK
RICK
authored and
RICK
committed
complete order front end functoinss
1 parent dd80973 commit db5b1d8

File tree

4 files changed

+33
-31
lines changed

4 files changed

+33
-31
lines changed

.idea/workspace.xml

Lines changed: 26 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/service.comp.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ class ServiceComponent extends React.Component{
1717
this.handleRedir = this.handleRedir.bind(this);
1818
this.handleChange = this.handleChange.bind(this);
1919
};
20-
componentWillUnmount(){
21-
console.log('services component is gone ^_^!!');
22-
}
20+
2321
componentDidMount(){
2422
let _self = this;
2523
let config = {

index.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27463,11 +27463,6 @@
2746327463
}
2746427464

2746527465
_createClass(ServiceComponent, [{
27466-
key: 'componentWillUnmount',
27467-
value: function componentWillUnmount() {
27468-
console.log('services component is gone ^_^!!');
27469-
}
27470-
}, {
2747127466
key: 'componentDidMount',
2747227467
value: function componentDidMount() {
2747327468
var _self = this;
@@ -27549,7 +27544,11 @@
2754927544
doc.docName
2755027545
);
2755127546
});
27552-
var lanOpt = this.state.languages.map(function (lan, index) {
27547+
var lanOpt = this.state.selectedVal === 'Family Register' ? _react2.default.createElement(
27548+
'option',
27549+
{ value: 'Japanese' },
27550+
'Japanese'
27551+
) : this.state.languages.map(function (lan, index) {
2755327552
return _react2.default.createElement(
2755427553
'option',
2755527554
{ value: lan.language, key: index },

index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)