Clean up for docker push
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
<script setup>
|
||||
<script setup lang="ts">
|
||||
import axios from 'axios'
|
||||
import { reactive, ref, watch, onMounted } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
import { Form } from '@primevue/forms'
|
||||
import { ref } from 'vue'
|
||||
import InputText from 'primevue/inputtext'
|
||||
import Button from 'primevue/button'
|
||||
import Card from 'primevue/card'
|
||||
import Chip from 'primevue/chip'
|
||||
import Dropdown from 'primevue/dropdown';
|
||||
|
||||
const table_name = ref("Default Table Name")
|
||||
|
||||
@@ -74,7 +74,7 @@ const tableLink = ref()
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
if (route.params.id == 0) {
|
||||
if (Number(route.params.id) == 0) {
|
||||
} else {
|
||||
axios.get(`http://localhost/api/tables/${route.params.id}`).then((resp) => {
|
||||
table.table_name = resp.data.table_name
|
||||
|
||||
@@ -53,7 +53,7 @@ function deleteTable(tableId: number) {
|
||||
.then((resp) => (allTables.value = resp.data))
|
||||
}
|
||||
|
||||
function buildButtonModel(table) {
|
||||
function buildButtonModel(table: any) {
|
||||
return [
|
||||
{
|
||||
label: 'Edit',
|
||||
|
||||
Reference in New Issue
Block a user