Skip to content

Commit

Permalink
fix: wrong pvc snapshot link address
Browse files Browse the repository at this point in the history
  • Loading branch information
justahole committed Jun 16, 2020
1 parent 67e54df commit 30320b9
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,17 @@ export default class PVCSnapshots extends Component {
} = snapshot

const status = t(`CREATE_STATUS_${backupStatus.toUpperCase()}`)
const { detailStore } = this.props
const { cluster } = detailStore.detail

return (
<div className={styles.item} key={uid}>
<Icon name={'snapshot'} size={40} />
<div className={styles.itemAttrs}>
<h3>
<Link to={`/infrastructure/volume-snapshots/${namespace}/${name}`}>
<Link
to={`/clusters/${cluster}/projects/${namespace}/volume-snapshots/${name}`}
>
{name}
</Link>
</h3>
Expand Down

0 comments on commit 30320b9

Please sign in to comment.