From 45702395482717670791383606a622b13ec4b050 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Fri, 10 Aug 2018 08:36:08 +0200 Subject: [PATCH] hide manual sort buttons --- .../assets/js/components/ColumnEditor.vue | 38 ++++++++++--------- resources/views/table/create.blade.php | 1 - 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/resources/assets/js/components/ColumnEditor.vue b/resources/assets/js/components/ColumnEditor.vue index a046cd5..99bbe93 100644 --- a/resources/assets/js/components/ColumnEditor.vue +++ b/resources/assets/js/components/ColumnEditor.vue @@ -8,7 +8,7 @@ Complex animated column editor for the table edit page - + @@ -19,17 +19,18 @@ Complex animated column editor for the table edit page - @@ -155,11 +156,12 @@ import { query } from './table-editor-utils' export default { props: { - route: { type: String, default: null }, - doSort: { type: Boolean, default: true }, - newTable: { type: Boolean, default: false }, - name: { type: String, required: true }, - xColumns: { type: Array, required: true }, + route: { type: String, default: null }, + sortable: { type: Boolean, default: true }, + manualSort: { type: Boolean, default: false }, + newTable: { type: Boolean, default: false }, + name: { type: String, required: true }, + xColumns: { type: Array, required: true }, }, data: function () { return { diff --git a/resources/views/table/create.blade.php b/resources/views/table/create.blade.php index 5323e9e..65b4150 100644 --- a/resources/views/table/create.blade.php +++ b/resources/views/table/create.blade.php @@ -81,7 +81,6 @@ name: 'columns', xColumns: {!! old('columns', toJSON($columns)) !!}, newTable: true, - doSort: false, }) });
Name Type Title
- + - @@ -58,26 +59,26 @@ Complex animated column editor for the table edit page - - + - - + - - +