Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(popup): obsolete bridge feature #39

Merged
merged 1 commit into from
May 16, 2024
Merged
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
12 changes: 0 additions & 12 deletions popup/src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import InitiateMnemonic from "@/views/InitiateMnemonic.vue";
import Login from "@/views/Login.vue";
import ForgotPassword from "@/views/ForgotPassword.vue";
import Send from "@/views/Send.vue";
import BridgeWNCG from "@/views/BridgeWNCG.vue";
import Bridge from "@/views/Bridge.vue";
import Confirmation from "@/views/Confirmation.vue";

let router = createRouter({
Expand Down Expand Up @@ -42,16 +40,6 @@ let router = createRouter({
name: 'send',
component: Send
},
{
path: '/bridge',
name: 'bridge',
component: Bridge
},
{
path: '/bridge/ncg2wncg',
name: 'ncg2wncg',
component: BridgeWNCG
},
{
path: '/confirmation',
name: 'confirmation',
Expand Down
64 changes: 0 additions & 64 deletions popup/src/views/Bridge.vue

This file was deleted.

197 changes: 0 additions & 197 deletions popup/src/views/BridgeWNCG.vue

This file was deleted.

9 changes: 1 addition & 8 deletions popup/src/views/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@
</div>
</div>
<div class="mt-4">
<v-btn dark size="large" color="#666666" class="mx-1 action-btn" :disabled="balanceLoading" @click="$router.replace({name: 'bridge'})">
<div>
{{t('bridge')}}
<div style="font-size: 10px;color:#888;letter-spacing: 0px">WNCG</div>
</div>
</v-btn>
<v-btn dark large
color="#F0B90B"
class="mx-1 action-btn point-btn"
Expand All @@ -47,8 +41,7 @@
<span class="ml-3" :class="tx.status">{{tx.status}}</span>
</span>
<span class="tx-type">
<span v-if="tx.action === 'bridgeWNCG'">Bridge WNCG</span>
<span v-else>{{ tx.type == 'transfer_asset5' ? 'Transfer Asset' : tx.type}}</span>
<span>{{ tx.type == 'transfer_asset5' ? 'Transfer Asset' : tx.type}}</span>
</span>
</div>
<div style="margin-right: -16px;" class="d-flex align-center">
Expand Down