import AbstractSearchOption from "./abstract_search_option.js"; import { t } from "../../services/i18n.js"; const TPL = ` ${t("include_archived_notes.include_archived_notes")} `; export default class IncludeArchivedNotes extends AbstractSearchOption { static get optionName() { return "includeArchivedNotes"; } static get attributeType() { return "label"; } static async create(noteId: string) { await AbstractSearchOption.setAttribute(noteId, "label", "includeArchivedNotes"); } doRender() { return $(TPL); } }