forked from cerc-io/cosmos-explorer
update index
This commit is contained in:
parent
46057d913a
commit
dd4869353a
@ -14,7 +14,6 @@
|
|||||||
<b-overlay
|
<b-overlay
|
||||||
:show="!isOwner"
|
:show="!isOwner"
|
||||||
rounded="sm"
|
rounded="sm"
|
||||||
class="p-3"
|
|
||||||
>
|
>
|
||||||
<template #overlay>
|
<template #overlay>
|
||||||
<div
|
<div
|
||||||
@ -330,7 +329,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
initialize() {
|
initialize() {
|
||||||
if (this.selectedAddress) {
|
if (this.isOwner && this.selectedAddress) {
|
||||||
this.$http.getLatestBlock().then(ret => {
|
this.$http.getLatestBlock().then(ret => {
|
||||||
this.chainId = ret.block.header.chain_id
|
this.chainId = ret.block.header.chain_id
|
||||||
const notSynced = timeIn(ret.block.header.time, 10, 'm')
|
const notSynced = timeIn(ret.block.header.time, 10, 'm')
|
||||||
|
Loading…
Reference in New Issue
Block a user