don't show reset-name on local classic styles
This commit is contained in:
parent
a34fe5f400
commit
79ada00a01
|
@ -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 = () => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user