File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
routes/page/agent/metrics Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1616 * @property {string } label
1717 * @property {string } icon
1818 * @property {string } link
19- * @property {string? } [iFrameUrl ]
19+ * @property {string? } [embedUrl ]
2020 * @property {boolean } isHeader
2121 */
2222
Original file line number Diff line number Diff line change 88 import { globalMenuStore } from ' $lib/helpers/store' ;
99
1010 /** @type {string} */
11- let iFrameUrl = ' ' ;
11+ let embedUrl = ' ' ;
1212
1313 const unsubscriber = globalMenuStore .subscribe ((/** @type {import('$pluginTypes').PluginMenuDefModel[]} */ menu) => {
1414 const url = $page .url .pathname ;
1515 const pageInfo = menu .find (x => x .link === url) || null ;
16- iFrameUrl = pageInfo? .iFrameUrl || ' ' ;
16+ embedUrl = pageInfo? .embedUrl || ' ' ;
1717 });
1818
1919 onDestroy (() => {
2424< HeadTitle title= " {$_('Metrics')}" / >
2525< Breadcrumb title= " {$_('Agent')}" pagetitle= " {$_('Metrics')}" / >
2626
27- {#if iFrameUrl }
27+ {#if embedUrl }
2828< Row>
2929 < Col lg= " 12" >
3030 < Card>
3333 title= " agent-metrics"
3434 height= " 100%"
3535 width= " 100%"
36- src= {iFrameUrl }
36+ src= {embedUrl }
3737 frameborder= " 0"
3838 allowfullscreen
3939 >
You can’t perform that action at this time.
0 commit comments