Skip to content

Commit

Permalink
devop: hide dapps on safari
Browse files Browse the repository at this point in the history
  • Loading branch information
kvhnuke committed Jan 5, 2024
1 parent 5a19af4 commit 07b7f0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<NFTs /><br />NFTs
</router-link>
<router-link
v-if="DappList[network.name]"
v-if="DappList[network.name] && !is_safari"
:to="{
name: 'dapps',
params: { id: !!selected ? selected : null },
Expand All @@ -42,6 +42,8 @@ import DappList from "@/libs/dapp-list";
import { BaseNetwork } from "@/types/base-network";
import { EvmNetwork } from "@/providers/ethereum/types/evm-network";
const is_safari = process.env.IS_SAFARI;
defineProps({
selected: {
type: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import Send from "@action/icons/actions/send.vue";
import Swap from "@action/icons/actions/swap.vue";
import { useRoute } from "vue-router";
const route = useRoute();
const showExchange = false;
const showExchange = !process.env.IS_SAFARI;
defineEmits<{
(e: "toggle:deposit"): void;
Expand Down

1 comment on commit 07b7f0f

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.