don't show reset-name on local classic styles

This commit is contained in:
tophf 2022-04-11 09:57:38 +03:00
parent a34fe5f400
commit 79ada00a01

View File

@ -132,7 +132,7 @@ function EditorHeader() {
nameEl.title = isCustomName ? t('customNameHint') : '';
nameEl.on('input', () => {
editor.updateName(true);
resetEl.hidden = false;
resetEl.hidden = !editor.style.customName;
});
resetEl.hidden = !editor.style.customName;
resetEl.onclick = () => {