File tree 1 file changed +27
-3
lines changed 1 file changed +27
-3
lines changed Original file line number Diff line number Diff line change 64
64
<b-input v-model =" filterName" type =" text" icon =" filter" ></b-input >
65
65
</b-field >
66
66
</div >
67
+ <div class =" level-item" >
68
+ <b-checkbox v-model =" showFacebookColumns" >Show FB columns</b-checkbox >
69
+ </div >
67
70
</div >
68
71
</nav >
69
72
70
- <b-table :data =" filteredChapters" striped hoverable default-sort =" Name" >
73
+ <b-table
74
+ :data =" filteredChapters"
75
+ striped
76
+ hoverable
77
+ default-sort =" Name"
78
+ :key =" showFacebookColumns"
79
+ >
71
80
<b-table-column v-slot =" props" >
72
81
<div style =" width : 130px " >
73
82
<b-button @click =" showModal('edit-chapter-modal', props.row)" >
108
117
>
109
118
</b-table-column >
110
119
111
- <b-table-column field =" LastFBEvent" label =" Last FB Event" v-slot =" props" centered sortable >
120
+ <b-table-column
121
+ field =" LastFBEvent"
122
+ label =" Last FB Event"
123
+ v-slot =" props"
124
+ centered
125
+ sortable
126
+ v-if =" showFacebookColumns"
127
+ >
112
128
<span class =" tag" >{{ props.row.LastFBEvent || 'None' }}</span >
113
129
</b-table-column >
114
130
115
- <b-table-column field =" LastFBSync" label =" FB Sync Status" v-slot =" props" centered sortable >
131
+ <b-table-column
132
+ field =" LastFBSync"
133
+ label =" FB Sync Status"
134
+ v-slot =" props"
135
+ centered
136
+ sortable
137
+ v-if =" showFacebookColumns"
138
+ >
116
139
<b-icon icon =" circle" :type =" colorFBSyncStatus(props.row.LastFBSync)" ></b-icon >
117
140
</b-table-column >
118
141
</b-table >
@@ -913,6 +936,7 @@ export default Vue.extend({
913
936
currentChapter: {} as Chapter ,
914
937
currentChapterIndex: - 1 ,
915
938
chapters: [] as Chapter [],
939
+ showFacebookColumns: false ,
916
940
disableConfirmButton: false ,
917
941
currentModalName: ' ' ,
918
942
showMoreOptions: false ,
You can’t perform that action at this time.
0 commit comments