feat: add sign btn

This commit is contained in:
Alisa | Side.one 2023-06-05 16:37:06 +08:00
parent 1fb696e6c6
commit 0bf0ebb059
2 changed files with 9 additions and 1 deletions

View File

@ -124,6 +124,13 @@ console.log(chainStore.current?.endpoints?.rpc, 9998888, chainStore.rpc);
<h2 class="text-sm card-title text-error">Updated at {{}}</h2>
<!-- <span class="text-xs truncate"> 8</span> -->
</div>
<div class="divider"></div>
<div>
<button class="btn btn-ms btn-primary"></button> Proposer Signed
<button class="btn btn-ms"></button> Proposer Not Signed
<button class="btn btn-ms btn-success"></button> Signed
<button class="btn btn-ms btn-secondary"></button> Not Signed
</div>
</div>
</div>
</template>

View File

@ -35,6 +35,7 @@ export const useBlockchain = defineStore('blockchain', {
},
getters: {
current(): ChainConfig | undefined {
console.log(this.dashboard.chains[this.chainName], 'jljfkj')
return this.dashboard.chains[this.chainName];
},
logo(): string {