Hide hex dump and disk info until disk is loaded
This commit is contained in:
parent
0abcbc0d8c
commit
f49754928e
@ -75,17 +75,21 @@ function onReadProgress(read: number, total: number) {
|
|||||||
<div v-else>No disk loaded</div>
|
<div v-else>No disk loaded</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section v-if="diskReadyState === 'read-success'">
|
||||||
<h2>Disk Hex Dump</h2>
|
<h2>Disk Hex Dump</h2>
|
||||||
<HexDump :buffer="diskData" />
|
<HexDump :buffer="diskData" />
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section v-if="diskReadyState === 'read-success'">
|
||||||
<h2>Disk Info</h2>
|
<h2>Disk Info</h2>
|
||||||
<DiskInfo :data="diskData" />
|
<DiskInfo :data="diskData" />
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
nav {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
.cols {
|
.cols {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user