Skip to content

Commit

Permalink
Don't allow reordering of new column that is not yet saved.
Browse files Browse the repository at this point in the history
  • Loading branch information
oakdbca committed Sep 5, 2024
1 parent 69dba6f commit 9ee1f21
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@
</th>
<td class="text-muted text-center"
style="width:10%">
<i class="bi bi-eye-fill " role="button" :class="index==0 || schema.columns.length <=2 ? 'me-4' : 'me-2'"></i>
<i v-if="!index==0 && schema.columns.length>2" class="bi bi-arrow-down-up" role="button" style="cursor:move;"></i>
<i class="bi bi-eye-fill " role="button" :class="index==0 || schema.columns.length <=2 || !column.id ? 'me-4' : 'me-2'"></i>
<i v-if="!index==0 && schema.columns.length>2 && column.id" class="bi bi-arrow-down-up" role="button" style="cursor:move;"></i>
</td>
</tr>
<tr class="border-bottom-0"
Expand Down

0 comments on commit 9ee1f21

Please sign in to comment.