Skip to content

Commit

Permalink
Merge pull request #193 from kaogeek/192-fix-typo-on-sorting-dropdown
Browse files Browse the repository at this point in the history
#192 sorting dropdown typo fixed
  • Loading branch information
iampz authored Sep 26, 2024
2 parents 6926903 + 9ee932e commit fbb1e3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# run: npm run test

- name: Uploading production-ready build files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: production-files
path: ./build
Expand All @@ -49,7 +49,7 @@ jobs:

steps:
- name: Downloading artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: production-files
path: ./build
Expand Down
4 changes: 2 additions & 2 deletions src/components/SortBy.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ function SortBy({ sort, setSort, mode = "" }) {
<option value={0}>เรียงจากแก้ไขมาก</option>
<option value={1}>เรียงจากแก้ไขน้อย</option>
{ mode === "section" ? (
<option value={2}>เรียงลำตับตามมาตรา</option>
) : mode === "chapter" ? ( <option value={2}>เรียงลำตับตามหมวด</option>): (<></>)
<option value={2}>เรียงลำดับตามมาตรา</option>
) : mode === "chapter" ? ( <option value={2}>เรียงลำดับตามหมวด</option>): (<></>)
}
</select>
</div>
Expand Down

0 comments on commit fbb1e3a

Please sign in to comment.