diff --git a/resources/assets/js/components/ColumnEditor.vue b/resources/assets/js/components/ColumnEditor.vue
index bc8de13..f91217d 100644
--- a/resources/assets/js/components/ColumnEditor.vue
+++ b/resources/assets/js/components/ColumnEditor.vue
@@ -12,8 +12,6 @@ Complex animated column editor for the table edit page
Name |
Type |
Title |
- |
- |
|
@@ -74,27 +72,22 @@ Complex animated column editor for the table edit page
-
-
-
-
- |
-
-
-
- |
-
-
-
-
@@ -151,6 +144,7 @@ Complex animated column editor for the table edit page
// approximate position of delete button
clip-path: circle(calc(100% + 5em) at calc(100% - 4em) 50%);
}
+
.col-list-leave-active .delete-btn {
animation: col-list-leave-delete-btn .3s forwards;
}
@@ -312,6 +306,7 @@ export default {
/** Compute classes for the column's delete button */
delBtnClass(col) {
return [
+ 'mr-1',
'btn',
'btn-outline-danger',
'delete-btn',
diff --git a/resources/assets/js/components/RowsEditor.vue b/resources/assets/js/components/RowsEditor.vue
index e1896ec..5ef9b95 100644
--- a/resources/assets/js/components/RowsEditor.vue
+++ b/resources/assets/js/components/RowsEditor.vue
@@ -13,23 +13,20 @@ Rows are identified by row._id, columns by col.id
- |
- |
+ |
{{col.title}} |
-
-
- |
-
-
+
@@ -53,7 +50,6 @@ Rows are identified by row._id, columns by col.id
alt="Revert Change" />
|
-
diff --git a/resources/assets/js/components/table-editor-utils.js b/resources/assets/js/components/table-editor-utils.js
index d806608..8814948 100644
--- a/resources/assets/js/components/table-editor-utils.js
+++ b/resources/assets/js/components/table-editor-utils.js
@@ -5,7 +5,8 @@ function busy (yes) {
function query (route, data, sucfn, erfn) {
busy(true)
if (!sucfn) sucfn = () => {}
- if (!sucfn) erfn = () => {}
+ if (!erfn) erfn = () => {}
+
window.axios.post(route, data).then(sucfn).catch((error) => {
console.error(error.message)
erfn(error.response.data)
|