mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 08:34:29 +00:00
fix notiz component showing no data when setting sort an switching tabs in stv
This commit is contained in:
@@ -42,7 +42,11 @@ export default {
|
|||||||
showErweitert: Boolean,
|
showErweitert: Boolean,
|
||||||
showDocument: Boolean,
|
showDocument: Boolean,
|
||||||
showTinyMce: Boolean,
|
showTinyMce: Boolean,
|
||||||
visibleColumns: Array
|
visibleColumns: Array,
|
||||||
|
tabulatorPersistenceId: {
|
||||||
|
type: String,
|
||||||
|
default: 'core-notiz'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -179,7 +183,15 @@ export default {
|
|||||||
//responsiveLayout: "collapse",
|
//responsiveLayout: "collapse",
|
||||||
maxHeight: '200px',
|
maxHeight: '200px',
|
||||||
index: 'notiz_id',
|
index: 'notiz_id',
|
||||||
persistenceID: 'core-notiz'
|
persistenceID: this.tabulatorPersistenceId,
|
||||||
|
persistence: {
|
||||||
|
sort: false,
|
||||||
|
columns: ["width", "visible", "frozen"],
|
||||||
|
filter: false,
|
||||||
|
headerFilter: false,
|
||||||
|
group: false,
|
||||||
|
page: false,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
tabulatorEvents: [
|
tabulatorEvents: [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ export default {
|
|||||||
show-tiny-mce
|
show-tiny-mce
|
||||||
:visibleColumns="['titel','text','verfasser','bearbeiter','dokumente']"
|
:visibleColumns="['titel','text','verfasser','bearbeiter','dokumente']"
|
||||||
@reload="$emit('update:suffix')"
|
@reload="$emit('update:suffix')"
|
||||||
|
tabulator-persistence-id="stv-notiz-2026011301"
|
||||||
>
|
>
|
||||||
</core-notiz>
|
</core-notiz>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user