forked from Gitlink/forgeplus-react
sync mirror
This commit is contained in:
parent
d01e8e32d4
commit
3071c785bc
|
@ -347,6 +347,7 @@ class Detail extends Component {
|
|||
const url = `/${owner}/${projectsId}/sync_mirror.json`;
|
||||
axios.post(url).then(result => {
|
||||
if (result && result.data && result.data.status === 0) {
|
||||
this.props.showNotification("镜像同步成功!");
|
||||
this.getProject(2);
|
||||
} else {
|
||||
this.props.showNotification("镜像同步失败!");
|
||||
|
|
Loading…
Reference in New Issue