File tree 2 files changed +5
-5
lines changed
routes/page/agent/metrics
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 16
16
* @property {string } label
17
17
* @property {string } icon
18
18
* @property {string } link
19
- * @property {string? } [iFrameUrl ]
19
+ * @property {string? } [embedUrl ]
20
20
* @property {boolean } isHeader
21
21
*/
22
22
Original file line number Diff line number Diff line change 8
8
import { globalMenuStore } from ' $lib/helpers/store' ;
9
9
10
10
/** @type {string} */
11
- let iFrameUrl = ' ' ;
11
+ let embedUrl = ' ' ;
12
12
13
13
const unsubscriber = globalMenuStore .subscribe ((/** @type {import('$pluginTypes').PluginMenuDefModel[]} */ menu) => {
14
14
const url = $page .url .pathname ;
15
15
const pageInfo = menu .find (x => x .link === url) || null ;
16
- iFrameUrl = pageInfo? .iFrameUrl || ' ' ;
16
+ embedUrl = pageInfo? .embedUrl || ' ' ;
17
17
});
18
18
19
19
onDestroy (() => {
24
24
< HeadTitle title= " {$_('Metrics')}" / >
25
25
< Breadcrumb title= " {$_('Agent')}" pagetitle= " {$_('Metrics')}" / >
26
26
27
- {#if iFrameUrl }
27
+ {#if embedUrl }
28
28
< Row>
29
29
< Col lg= " 12" >
30
30
< Card>
33
33
title= " agent-metrics"
34
34
height= " 100%"
35
35
width= " 100%"
36
- src= {iFrameUrl }
36
+ src= {embedUrl }
37
37
frameborder= " 0"
38
38
allowfullscreen
39
39
>
You can’t perform that action at this time.
0 commit comments