-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Redundant Save Button #1024
base: dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR! Please review the changes
<Row gutter={[12, -5]}> | ||
<Col className="gutter-row" span={5}> | ||
<Form.Item> | ||
<Button type="primary" htmlType="submit" icon={<PlusOutlined />} block> | ||
{translate('Save')} | ||
</Button> | ||
</Form.Item> | ||
</Col> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When you delete a Col you should review the spacing provided by the gutter property in the Row.
@@ -191,6 +192,7 @@ export default function DataTable({ config, extra = [] }) { | |||
onChange={filterTable} | |||
placeholder={translate('search')} | |||
allowClear | |||
suffix={<SearchOutlined />} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is out of the PR topic. I quote from contribution guidelines "Do not include changes that are not related to the issue at hand."
You can read the contribution guidelines here https://github.com/idurar/idurar-erp-crm/blob/master/CONTRIBUTING.md#how-to-contribute
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this actually got commited by mistake
Description
In the create invoice form , there exists two save buttons having the same functionality .I deleted one of the redundant save buttons.
Screenshots (if applicable)
Before:
After:
Checklist