소스 검색

allow disabling settings for regular saves

Gildas 1 년 전
부모
커밋
2b79acee3d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/ui/bg/ui-options.js

+ 2 - 0
src/ui/bg/ui-options.js

@@ -897,6 +897,8 @@ async function refresh(profileName) {
 	optionElement = document.createElement("option");
 	optionElement.value = DISABLED_PROFILE_NAME;
 	optionElement.textContent = browser.i18n.getMessage("profileDisabled");
+	ruleEditProfileInput.appendChild(optionElement.cloneNode(true));
+	ruleProfileInput.appendChild(optionElement.cloneNode(true));
 	ruleAutoSaveProfileInput.appendChild(optionElement);
 	ruleEditAutoSaveProfileInput.appendChild(optionElement.cloneNode(true));
 	const rulesDataElement = rulesElement.querySelector(".rules-data");