From 2b21d74d6368c6ad9bb663d229fffb263928ff11 Mon Sep 17 00:00:00 2001 From: snoop Date: Fri, 8 Sep 2017 18:34:11 +0900 Subject: [PATCH] fixed auth_crawler --- .../@overflow/meta/react/components/CrawlerAuthInputs.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/ts/@overflow/meta/react/components/CrawlerAuthInputs.tsx b/src/ts/@overflow/meta/react/components/CrawlerAuthInputs.tsx index db93833..40db7aa 100644 --- a/src/ts/@overflow/meta/react/components/CrawlerAuthInputs.tsx +++ b/src/ts/@overflow/meta/react/components/CrawlerAuthInputs.tsx @@ -46,6 +46,13 @@ export class CrawlerAuthInputs extends React.Component, nextContext: any): void { + if(nextProps.metaCrawlerInputItemList !== this.props.metaCrawlerInputItemList) { + this.setState({authJson: {}}); + } + } + + public componentWillMount(): void { // this.data = [ // { @@ -75,6 +82,7 @@ export class CrawlerAuthInputs extends React.Component