mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Use Array.from instead of Object.values
Co-authored-by: Dannon <dannon.baker@gmail.com>
This commit is contained in:
co-authored by
Dannon
parent
3180435cd1
commit
91f7bec698
@@ -32,7 +32,7 @@ export default {
|
||||
if (content) {
|
||||
const vDom = document.createElement("div");
|
||||
vDom.innerHTML = content;
|
||||
const children = Object.values(vDom.children);
|
||||
const children = Array.from(vDom.children);
|
||||
children.forEach((child) => {
|
||||
if (child.classList.contains("embedded-item")) {
|
||||
const splitId = child.id.split("-");
|
||||
|
||||
Reference in New Issue
Block a user