dispatch("select")} class:selected={selected}> {chapter.data.attributes.volume ? "Vol " + chapter.data.attributes.volume : ""} Chapter {chapter.data.attributes.chapter} {chapter.data.attributes.title} !disabledDownload && dispatch("download")} class:disabled={disabledDownload}>Download !disabledDownload && dispatch("view")}>View