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'
21
21
import { getBranches } from 'api/branches/getBranches'
22
22
import { getSnapshotList } from 'api/branches/getSnapshotList'
23
23
import { deleteBranch } from 'api/branches/deleteBranch'
24
+ import { destroySnapshot } from 'api/snapshots/destroySnapshot'
24
25
25
26
export const Page = ( { renderCurrentTab } : { renderCurrentTab ?: number } ) => {
26
27
const routes = {
@@ -56,6 +57,7 @@ export const Page = ({ renderCurrentTab }: { renderCurrentTab?: number }) => {
56
57
getBranches,
57
58
getSnapshotList,
58
59
deleteBranch,
60
+ destroySnapshot
59
61
}
60
62
61
63
const elements = {
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ export const Snapshot = () => {
44
44
instanceId = { '' }
45
45
snapshotId = { snapshotId }
46
46
routes = { {
47
+ snapshots : ( ) => ROUTES . INSTANCE . SNAPSHOTS . SNAPSHOTS . path ,
47
48
snapshot : ( ) => ROUTES . INSTANCE . SNAPSHOTS . SNAPSHOTS . path ,
48
49
branch : ( branchName : string ) =>
49
50
ROUTES . INSTANCE . BRANCHES . BRANCH . createPath ( branchName ) ,
You can’t perform that action at this time.
0 commit comments