salmanthasleem commented on code in PR #275:
URL: https://github.com/apache/shenyu-dashboard/pull/275#discussion_r1161122429
##########
src/routes/Plugin/Common/index.js:
##########
@@ -624,7 +691,27 @@ export default class Common extends Component {
];
return (
- <div className="plug-content-wrap">
+ <div className="plug-content-wrap">
+ <Row style={{ marginBottom: '5px', display: 'flex', justifyContent:
'space-between', alignItems: 'center' }}>
+ <div style={{ display: 'flex',alignItems:'end',flex:1,margin:0 }}>
+ <Title level={2} style={{ textTransform: 'capitalize', margin: '0
20px 0 0' }}>
+ {name}
+ </Title>
+ <Title level={3} type="secondary" style={{margin:0}}>{role}</Title>
+ </div>
+ <div style={{ display: 'flex',alignItems:'end',gap:10 }}>
+ <Switch
Review Comment:
Hi, currently the switch can't be toggled ,it can only be changed by
clicking edit and changing the status in the modal.
Should I allow changing the status by clicking the switch?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]