Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

Commit 7d49919

Browse files
author
Faizan Saiyed
committed
Issue #510 & #511 resolved
1 parent c0cf655 commit 7d49919

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

client/src/components/SchemaView.vue

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@
6565
</div>
6666
</div>
6767

68-
<div v-if="instanceEntries.length === 0 && itsFirstState === false">
68+
<!-- <div v-if="instanceEntries.length === 0 && itsFirstState === false">
6969
<p align="center">No Data</p>
70-
</div>
70+
</div> -->
7171

72-
<div v-if="itsFirstState === false && instanceEntries.length !== 0">
72+
<div v-if="itsFirstState === false">
7373
<tabs>
7474
<TabPane v-if="this.$store.state.role === 1" :label="dataCount" icon="lock-combination">
7575
<schemalist v-if="this.$store.state.role === 1" :schema="dataSchema" :pageno="pageno" :datashow="'dataA'" v-on:on-paginate="pagination" v-on:on-handlepage="handlepage" :limit="limit" :skip="skip" :dataTotal="dataTotal" :data="dataData" :configuration="configuration" :instanceEntries="instanceEntries" :dynamicData="dynamicData" v-on:setValues="setValues" :flowzData="flowzData" v-on:sort-data="sortData" v-on:search-data="searchData"></schemalist>
@@ -250,12 +250,12 @@ export default {
250250
'id[$search]': '^' + query.text
251251
}).then(res => {
252252
this.isFlowzLoaded = true
253-
let firstState = this.flowzData.first
254-
if (firstState === this.$route.params.stateid) {
255-
this.itsFirstState = true
256-
} else {
257-
this.itsFirstState = false
258-
}
253+
// let firstState = this.flowzData.first
254+
// if (firstState === this.$route.params.stateid) {
255+
// this.itsFirstState = true
256+
// } else {
257+
// this.itsFirstState = false
258+
// }
259259
this.dataTotal = res.data.total
260260
if (res.data.data.length > 0) {
261261
this.instanceEntries = res.data.data
@@ -265,7 +265,7 @@ export default {
265265
} else {
266266
this.instanceEntries = []
267267
this.dataData = []
268-
this.itsFirstState = true
268+
// this.itsFirstState = true
269269
this.dataLoading = false
270270
// this.$Spin.hide()
271271
this.$Loading.finish()
@@ -1154,9 +1154,15 @@ export default {
11541154
.clickToCopy{
11551155
cursor: pointer;
11561156
}
1157+
1158+
11571159
</style>
11581160

11591161
<style>
1162+
.ivu-table-tip table td{
1163+
text-align: left;
1164+
padding-left: 20px;
1165+
}
11601166
.ivu-modal-body{
11611167
max-height: 550px !important;
11621168
overflow-y: auto !important;

client/src/pages/user/SchemaList.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -697,12 +697,12 @@
697697
</style>
698698

699699
<style>
700-
.ivu-table td:nth-child(2) div span{
700+
/*.ivu-table td:nth-child(2) div span{
701701
width:200px !important;
702702
white-space: nowrap !important;
703703
overflow: hidden !important;
704704
text-overflow: ellipsis !important;
705-
}
705+
}*/
706706
.ivu-table-cell div{
707707
white-space: nowrap !important;
708708
overflow: hidden !important;

0 commit comments

Comments
 (0)