Update tables.js

This commit is contained in:
Corban-Lee Jones 2024-10-24 18:20:06 +01:00
parent efe469d4f5
commit 841e24f508

View File

@ -543,11 +543,7 @@ function renderArrayDropdownColumn(data, icon, headerText) {
return $dropdown.prop("outerHTML");
}
function renderHexColourColumn(data, type, row) {
if (!row.is_embed) {
return "";
}
const renderHexColourColumn = data => {
const hexWithHashtag = `#${data}`.toUpperCase();
let icon = $("<div>");
@ -566,10 +562,6 @@ function renderMutatorColumn(data) {
}
const renderLinkToStyleColumn = style => {
if (!style.is_embed) {
return "";
}
const hexWithHashtag = `#${style.colour}`.toUpperCase();
let icon = $("<div>");