File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
ui/packages/ce/src/App/Instance Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import { createBranch } from 'api/branches/createBranch'
2121import { getBranches } from 'api/branches/getBranches'
2222import { getSnapshotList } from 'api/branches/getSnapshotList'
2323import { deleteBranch } from 'api/branches/deleteBranch'
24+ import { destroySnapshot } from 'api/snapshots/destroySnapshot'
2425
2526export const Page = ( { renderCurrentTab } : { renderCurrentTab ?: number } ) => {
2627 const routes = {
@@ -56,6 +57,7 @@ export const Page = ({ renderCurrentTab }: { renderCurrentTab?: number }) => {
5657 getBranches,
5758 getSnapshotList,
5859 deleteBranch,
60+ destroySnapshot
5961 }
6062
6163 const elements = {
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ export const Snapshot = () => {
4444 instanceId = { '' }
4545 snapshotId = { snapshotId }
4646 routes = { {
47+ snapshots : ( ) => ROUTES . INSTANCE . SNAPSHOTS . SNAPSHOTS . path ,
4748 snapshot : ( ) => ROUTES . INSTANCE . SNAPSHOTS . SNAPSHOTS . path ,
4849 branch : ( branchName : string ) =>
4950 ROUTES . INSTANCE . BRANCHES . BRANCH . createPath ( branchName ) ,
You can’t perform that action at this time.
0 commit comments