Remove subscription type from APPM publisher filter UI

feature/appm-store/pbac
Jayasanka 5 years ago
parent d75724563a
commit e762d35a74

@ -63,9 +63,6 @@ class FiltersForm extends React.Component {
delete values["deviceType"]; delete values["deviceType"];
} }
if(values.hasOwnProperty("subscriptionType") && values.subscriptionType==="ALL"){
delete values["subscriptionType"];
}
if(values.hasOwnProperty("appType") && values.appType==="ALL"){ if(values.hasOwnProperty("appType") && values.appType==="ALL"){
delete values["appType"]; delete values["appType"];
} }
@ -271,17 +268,6 @@ class FiltersForm extends React.Component {
)} )}
</Form.Item> </Form.Item>
<Divider/> <Divider/>
<Form.Item label="Subscription Type">
{getFieldDecorator('subscriptionType', {})(
<Radio.Group style={{width: '100%'}}>
<Radio value="FREE">Free</Radio>
<Radio value="PAID">Paid</Radio>
<Radio value="ALL">All</Radio>
</Radio.Group>,
)}
</Form.Item>
<Divider/>
</Form> </Form>
</Card> </Card>
); );

Loading…
Cancel
Save