Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,19 @@
</tr>
</thead>
<tbody>
<CanisterSnapshotRestoreDialog
v-model:open="dialogs.restoreSnapshot"
:canister-id="props.canisterId"
:snapshot="snapshot"
:title="$t('external_canisters.snapshots.restore_snapshot_title')"
/>

<CanisterSnapshotRemoveDialog
v-model:open="dialogs.removeSnapshot"
:canister-id="props.canisterId"
:snapshot="snapshot"
:title="$t('external_canisters.snapshots.remove_snapshot_title')"
/>
<tr v-for="snapshot in snapshots" :key="snapshot.snapshotId">
<td>{{ snapshot.snapshotId }}</td>
<td>{{ (snapshot.totalSize / 1_000_000).toFixed(2) }}</td>
Expand All @@ -27,20 +40,6 @@
}}
</td>
<td v-if="!readonly" class="text-right">
<CanisterSnapshotRestoreDialog
v-model:open="dialogs.restoreSnapshot"
:canister-id="props.canisterId"
:snapshot="snapshot"
:title="$t('external_canisters.snapshots.restore_snapshot_title')"
/>

<CanisterSnapshotRemoveDialog
v-model:open="dialogs.removeSnapshot"
:canister-id="props.canisterId"
:snapshot="snapshot"
:title="$t('external_canisters.snapshots.remove_snapshot_title')"
/>

<VMenu>
<template #activator="{ props: activatorProps }">
<VBtn
Expand Down
4 changes: 1 addition & 3 deletions orbit
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,7 @@ function install_icp_ledger() {
exit 1
fi

if ! dfx identity list | grep -q $MINTER_IDENTITY_NAME; then
dfx identity new $MINTER_IDENTITY_NAME --storage-mode plaintext
fi
dfx identity new $MINTER_IDENTITY_NAME --storage-mode plaintext || true

dfx deploy --specified-id $CANISTER_ID_ICP_LEDGER icp_ledger --argument "
(variant {
Expand Down
1 change: 1 addition & 0 deletions tools/dfx-orbit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ This version is potentially more useful, if you want to make patches or use a sp

```
git clone https://github.com/dfinity/orbit.git
cd orbit
cargo install -f --path tools/dfx-orbit/
```

Expand Down
Loading