How to properly move my script to the new JS tab in my component?

Holy moly! Looks like my 2012 CSS skills aren’t cutting it anymore. Which is kinda weird, because I could’ve sworn 2012 was literally yesterday!


I went for

.d-editor-container:not(:has(.category-input .select-kit-header[data-name="Trading Post"])) .tags-input {
    display: none;
}

So it hides in every category but Trading Post.

Thanks all!