Skip to content

Commit 4c181a6

Browse files
committed
devop: remove buy swap from safari
1 parent b3b34ac commit 4c181a6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/extension/src/ui/action/views/asset-detail-view/components/asset-detail-action.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<div class="asset-detail__action">
33
<div class="asset-detail__action-wrap">
44
<button
5+
v-if="!is_safari"
56
class="asset-detail__action-item"
67
@click="$emit('open:buyAction')"
78
>
@@ -21,6 +22,7 @@
2122
<Send />Send
2223
</router-link>
2324
<router-link
25+
v-if="!is_safari"
2426
class="asset-detail__action-item"
2527
:to="{
2628
name: 'swap',
@@ -42,6 +44,7 @@ import type { AssetsType } from '@/types/provider';
4244
import { useRoute } from 'vue-router';
4345
import { PropType } from 'vue';
4446
const route = useRoute();
47+
const is_safari = __IS_SAFARI__;
4548
4649
defineEmits<{
4750
(e: 'toggle:deposit'): void;

0 commit comments

Comments
 (0)