Skip to content

Commit

Permalink
Removes conditional rendering for filtering button (#2324)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvilanova authored Jul 6, 2022
1 parent aab7f30 commit 63c3737
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
@update="update"
@loading="setLoading"
:projects="defaultUserProjects"
v-if="defaultUserProjects.length > 0"
/>
</v-flex>
</v-layout>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
@update="update"
@loading="setLoading"
:projects="defaultUserProjects"
v-if="defaultUserProjects.length > 0"
/>
</v-flex>
</v-layout>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
@update="update"
@loading="setLoading"
:projects="defaultUserProjects"
v-if="defaultUserProjects.length > 0"
/>
</v-flex>
</v-layout>
Expand Down
5 changes: 1 addition & 4 deletions src/dispatch/static/dispatch/src/data/query/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
<div class="headline">Queries</div>
</v-col>
<v-col cols="2">
<table-filter-dialog
:projects="defaultUserProjects"
v-if="defaultUserProjects.length > 0"
/>
<table-filter-dialog :projects="defaultUserProjects" />
<v-btn color="info" class="ml-2" @click="createEditShow()"> New </v-btn>
</v-col>
</v-row>
Expand Down
5 changes: 1 addition & 4 deletions src/dispatch/static/dispatch/src/data/source/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
<div class="headline">Sources</div>
</v-col>
<v-col cols="2">
<table-filter-dialog
:projects="defaultUserProjects"
v-if="defaultUserProjects.length > 0"
/>
<table-filter-dialog :projects="defaultUserProjects" />
<v-btn color="info" class="ml-2" @click="createEditShow()"> New </v-btn>
</v-col>
</v-row>
Expand Down
5 changes: 1 addition & 4 deletions src/dispatch/static/dispatch/src/feedback/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
<div class="headline">Feedback</div>
</v-col>
<v-col cols="1">
<table-filter-dialog
:projects="defaultUserProjects"
v-if="defaultUserProjects.length > 0"
/>
<table-filter-dialog :projects="defaultUserProjects" />
</v-col>
</v-row>
<v-row no-gutters>
Expand Down
5 changes: 1 addition & 4 deletions src/dispatch/static/dispatch/src/incident/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
<div class="headline">Incidents</div>
</v-col>
<v-col cols="3">
<table-filter-dialog
:projects="defaultUserProjects"
v-if="defaultUserProjects.length > 0"
/>
<table-filter-dialog :projects="defaultUserProjects" />
<table-export-dialog />
<v-btn color="info" class="ml-2" @click="showNewSheet()"> New </v-btn>
</v-col>
Expand Down
5 changes: 1 addition & 4 deletions src/dispatch/static/dispatch/src/task/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
</v-col>
<v-spacer />
<v-col cols="3">
<table-filter-dialog
:projects="defaultUserProjects"
v-if="defaultUserProjects.length > 0"
/>
<table-filter-dialog :projects="defaultUserProjects" />
<table-export-dialog />
<v-btn color="info" class="ml-2" @click="createEditShow()"> New </v-btn>
</v-col>
Expand Down

0 comments on commit 63c3737

Please sign in to comment.