-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1600 from sora-xor/release/1.44.0
Release 1.44.0
- Loading branch information
Showing
49 changed files
with
766 additions
and
371 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<template> | ||
<swap-status-action-badge> | ||
<template #value> | ||
{{ selectedNetworkShortName }} | ||
</template> | ||
<template #action> | ||
<s-button | ||
class="el-button--settings" | ||
type="action" | ||
icon="basic-settings-24" | ||
:tooltip="t('bridge.selectNetwork')" | ||
tooltip-placement="bottom-end" | ||
@click="handleChangeNetwork" | ||
/> | ||
</template> | ||
</swap-status-action-badge> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { Component, Mixins } from 'vue-property-decorator'; | ||
import NetworkFormatterMixin from '@/components/mixins/NetworkFormatterMixin'; | ||
import { Components } from '@/consts'; | ||
import { lazyComponent } from '@/router'; | ||
import { mutation } from '@/store/decorators'; | ||
@Component({ | ||
components: { | ||
SwapStatusActionBadge: lazyComponent(Components.SwapStatusActionBadge), | ||
}, | ||
}) | ||
export default class BridgeNetworkSelector extends Mixins(NetworkFormatterMixin) { | ||
@mutation.web3.setSelectNetworkDialogVisibility private setSelectNetworkDialogVisibility!: (flag: boolean) => void; | ||
handleChangeNetwork(): void { | ||
this.setSelectNetworkDialogVisibility(true); | ||
} | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.