Skip to content

Commit 5e58095

Browse files
committed
fix: clean props value
1 parent a2ca7c4 commit 5e58095

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/widgets/MainViewServiceList/Table/ModelRepository.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@ class ModelRepositoryItem extends React.Component {
4646
}
4747

4848
openPublishTrainingModal() {
49-
const { modalStore } = this.props;
49+
const { modalStore, service } = this.props;
5050
modalStore.setVisible("publishTraining", true, {
51-
service: this.props.service
51+
service: service
5252
});
5353
}
5454

5555
deleteRepositoryModal() {
56-
const { modalStore } = this.props;
56+
const { modalStore, service } = this.props;
5757
modalStore.setVisible("deleteRepository", true, {
58-
service: this.props.service
58+
service: service
5959
});
6060
}
6161

0 commit comments

Comments
 (0)