Issue-ID: SDC-1963
Change-Id: I81faaa3229db830475b6d827b578cb361c744228
Signed-off-by: Yarin Dekel <yarind@amdocs.com>
...catalog,
searchNameFilter: searchValue
});
+ sessionStorage.setItem('searchNameFilter', searchValue);
};
render() {
sort: {
[NAME]: ASC
},
+ searchNameFilter: '',
items: [
{
id: 'c5b7ca1a0f7944bfa948b85b32c5f314',
sort: {
[NAME]: ASC
},
- status: WORKFLOW_STATUS.ACTIVE
+ status: WORKFLOW_STATUS.ACTIVE,
+ //In order to save state inside iframe session
+ searchNameFilter: sessionStorage.getItem('searchNameFilter') || ''
};
const catalogReducer = (state = initialState, action) => {
value: PropTypes.string
};
- state = { showInput: false };
+ state = { showInput: !!this.props.value };
handleRef = input => {
this.domNode = input;