diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index 861a79432..3bcd91b1f 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -317,8 +317,8 @@ defineExpose({ params, }); -function handleOnDataSaved(_) { - if (_.onDataSaved) _.onDataSaved(this); +function handleOnDataSaved(_, res) { + if (_.onDataSaved) _.onDataSaved({ CrudModelRef: CrudModelRef.value }); else $props.create.onDataSaved(_); } @@ -771,6 +771,16 @@ es: color: var(--vn-text-color); } +.q-table--dark .q-table__bottom, +.q-table--dark thead, +.q-table--dark tr { + border-color: var(--vn-section-color); +} + +.q-table__container > div:first-child { + background-color: var(--vn-page-color); +} + .grid-three { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, max-content)); diff --git a/src/components/common/VnLocation.vue b/src/components/common/VnLocation.vue index 633d32b85..ffbc7a656 100644 --- a/src/components/common/VnLocation.vue +++ b/src/components/common/VnLocation.vue @@ -37,9 +37,11 @@ const locationProperties = [ : null, (obj) => obj.country?.name, ]; + const modelValue = ref( props.location ? formatLocation(props.location, locationProperties) : null ); + function showLabel(data) { const dataProperties = [ 'code', diff --git a/src/components/common/VnLog.vue b/src/components/common/VnLog.vue index ab522cfde..8c71c0997 100644 --- a/src/components/common/VnLog.vue +++ b/src/components/common/VnLog.vue @@ -406,6 +406,7 @@ watch( :skeleton="false" auto-load @on-fetch="setLogTree" + search-url="logs" >