fix injection bugs in table editor
This commit is contained in:
@@ -28,9 +28,9 @@
|
||||
'<nav class="text-center" aria-label="Table pages">' +
|
||||
@json((string)$rows->links(null, ['ulClass' => 'mb-0'])) +
|
||||
'</nav>',
|
||||
route: {!! toJSON($table->draftUpdateRoute) !!},
|
||||
columns: {!! toJSON($columns) !!},
|
||||
xRows: {!! toJSON($transformed, true) !!},
|
||||
route: @json($table->draftUpdateRoute),
|
||||
columns: @json($columns),
|
||||
xRows: @json($transformed),
|
||||
xRowOrder: @json($transformed->keys()),
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user