feat: cloud options
This commit is contained in:
@@ -102,7 +102,7 @@ const UpdateLabels: React.FC<ViewModalProps> = (props) => {
|
||||
id: 'resources.table.labels'
|
||||
})}
|
||||
labels={labels}
|
||||
btnText="common.button.addLabel"
|
||||
btnText={intl.formatMessage({ id: 'common.button.addLabel' })}
|
||||
onChange={handleLabelsChange}
|
||||
></LabelSelector>
|
||||
</Form.Item>
|
||||
|
||||
@@ -146,7 +146,10 @@ const Workers: React.FC = () => {
|
||||
handleViewDetail(record);
|
||||
}
|
||||
if (val === 'download_ssh_key') {
|
||||
downloadWorkerPrivateKey(record.id);
|
||||
downloadWorkerPrivateKey({
|
||||
id: record.id,
|
||||
name: record.name
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user