diff --git a/src/assets/icons/add_iframe.svg b/src/assets/icons/add_iframe.svg new file mode 100644 index 00000000..5fa776c0 --- /dev/null +++ b/src/assets/icons/add_iframe.svg @@ -0,0 +1,15 @@ + + \ No newline at end of file diff --git a/src/store/modules/dashboard.ts b/src/store/modules/dashboard.ts index 3258bfbf..e2c068d4 100644 --- a/src/store/modules/dashboard.ts +++ b/src/store/modules/dashboard.ts @@ -108,7 +108,7 @@ export const dashboardStore = defineStore({ depth: this.entity === EntityType[1].value ? 1 : this.entity === EntityType[0].value ? 2 : 3, }; } - if (["Trace", "Profile", "Log", "DemandLog", "Ebpf", "NetworkProfiling"].includes(type)) { + if (["Trace", "Profile", "Log", "DemandLog", "Ebpf", "NetworkProfiling", "Iframe"].includes(type)) { newItem.h = 36; } if (type === "Text") { @@ -168,7 +168,7 @@ export const dashboardStore = defineStore({ showDepth: true, }; } - if (["Trace", "Profile", "Log", "DemandLog", "Ebpf", "NetworkProfiling"].includes(type)) { + if (["Trace", "Profile", "Log", "DemandLog", "Ebpf", "NetworkProfiling", "Iframe"].includes(type)) { newItem.h = 32; } if (type === "Text") { diff --git a/src/views/dashboard/controls/Text.vue b/src/views/dashboard/controls/Text.vue index 209694da..3c637c76 100644 --- a/src/views/dashboard/controls/Text.vue +++ b/src/views/dashboard/controls/Text.vue @@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->