mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-17 01:06:30 +08:00
Fix native tables in report [SCI-11330]
This commit is contained in:
parent
8c21dbcc77
commit
88376d33e6
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ import { mountWithTurbolinks } from '../helpers/turbolinks.js';
|
||||||
|
|
||||||
window.initReportNativeTableRenderer = (id) => {
|
window.initReportNativeTableRenderer = (id) => {
|
||||||
const app = createApp({});
|
const app = createApp({});
|
||||||
|
app.config.globalProperties.i18n = window.I18n;
|
||||||
app.component('NativeTableRenderer', NativeTableRenderer);
|
app.component('NativeTableRenderer', NativeTableRenderer);
|
||||||
mountWithTurbolinks(app, id);
|
mountWithTurbolinks(app, id);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue