Update tables.js
This commit is contained in:
parent
efe469d4f5
commit
841e24f508
@ -543,11 +543,7 @@ function renderArrayDropdownColumn(data, icon, headerText) {
|
|||||||
return $dropdown.prop("outerHTML");
|
return $dropdown.prop("outerHTML");
|
||||||
}
|
}
|
||||||
|
|
||||||
function renderHexColourColumn(data, type, row) {
|
const renderHexColourColumn = data => {
|
||||||
if (!row.is_embed) {
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
|
|
||||||
const hexWithHashtag = `#${data}`.toUpperCase();
|
const hexWithHashtag = `#${data}`.toUpperCase();
|
||||||
|
|
||||||
let icon = $("<div>");
|
let icon = $("<div>");
|
||||||
@ -565,11 +561,7 @@ function renderMutatorColumn(data) {
|
|||||||
return $(`<span class="badge text-bg-secondary rounded-1">${data.name}</span>`).prop("outerHTML");
|
return $(`<span class="badge text-bg-secondary rounded-1">${data.name}</span>`).prop("outerHTML");
|
||||||
}
|
}
|
||||||
|
|
||||||
const renderLinkToStyleColumn = style => {
|
const renderLinkToStyleColumn = style => {
|
||||||
if (!style.is_embed) {
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
|
|
||||||
const hexWithHashtag = `#${style.colour}`.toUpperCase();
|
const hexWithHashtag = `#${style.colour}`.toUpperCase();
|
||||||
|
|
||||||
let icon = $("<div>");
|
let icon = $("<div>");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user