@capillarytech/creatives-library 8.0.55 → 8.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -105,7 +105,6 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
|
|
|
105
105
|
this.onAccountSelect = this.onAccountSelect.bind(this);
|
|
106
106
|
this.prepareMobilePushPreviewData = this.prepareMobilePushPreviewData.bind(this);
|
|
107
107
|
this.menuOnClickEvent = this.menuOnClickEvent.bind(this);
|
|
108
|
-
console.log("this.props.location",this.props.location);
|
|
109
108
|
}
|
|
110
109
|
|
|
111
110
|
componentWillMount() {
|
|
@@ -753,7 +752,6 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
|
|
|
753
752
|
const type = this.props.location.query.type;
|
|
754
753
|
const module = this.props.location.query.module ? this.props.location.query.module : 'default';
|
|
755
754
|
const channel = this.state.channel.toLowerCase();
|
|
756
|
-
console.log('createTemplate for channel', channel, type, module);
|
|
757
755
|
//const keyType = ev.key && ev.key.toLowerCase() !== undefined ? ev.state.toLowerCase() : '';
|
|
758
756
|
if (this.isEnabledInLibraryModule("callCreateFromProps")) {
|
|
759
757
|
this.props.createNew();
|
|
@@ -933,10 +931,8 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
|
|
|
933
931
|
this.props.createNew();
|
|
934
932
|
return;
|
|
935
933
|
}
|
|
936
|
-
console.log('line 939getQuery', getQuery,this.props.router);
|
|
937
934
|
|
|
938
935
|
const queryParams = commonUtil.createQueryString(getQuery);
|
|
939
|
-
console.log('line 952 queryParams', queryParams);
|
|
940
936
|
// this.props.router.push(`${pathName}${queryParams}`);
|
|
941
937
|
|
|
942
938
|
this.props.router.push({
|
|
@@ -988,7 +984,6 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
|
|
|
988
984
|
pathName = `/ebill/edit/${id}`;
|
|
989
985
|
}
|
|
990
986
|
//getQuery
|
|
991
|
-
console.log('getQuery', getQuery, pathName,this.props.router);
|
|
992
987
|
this.props.router.push({
|
|
993
988
|
pathname: pathName,
|
|
994
989
|
search: commonUtil.createQueryString(getQuery),
|