* Adding new comment sort.
* Updating translations.
"eslint": "^7.19.0",
"eslint-plugin-jane": "^9.0.6",
"husky": "^4.3.8",
- "lemmy-js-client": "0.9.4",
+ "lemmy-js-client": "0.9.8-rc.3",
"lint-staged": "^10.5.4",
"mini-css-extract-plugin": "^1.3.6",
"node-fetch": "^2.6.1",
<option value={SortType.Active}>{i18n.t('active')}</option>,
]}
<option value={SortType.New}>{i18n.t('new')}</option>
- {!this.props.hideMostComments && (
+ {!this.props.hideMostComments && [
<option value={SortType.MostComments}>
{i18n.t('most_comments')}
- </option>
- )}
+ </option>,
+ <option value={SortType.NewComments}>
+ {i18n.t('new_comments')}
+ </option>,
+ ]}
<option disabled aria-hidden="true">
─────
</option>
dependencies:
invert-kv "^1.0.0"
-lemmy-js-client@0.9.4:
- version "0.9.4"
- resolved "https://registry.yarnpkg.com/lemmy-js-client/-/lemmy-js-client-0.9.4.tgz#6430222e4c7029ecc9aae6ff1871ac52c6e768da"
- integrity sha512-bw+kp7cqzII3aVON8yAgF7v5xtpFHSfs5h+I+h7JgUHnR/9Gs7ENkDwjNXxpJKekJOgkWea7y32370Yu16vyzw==
+lemmy-js-client@0.9.8-rc.3:
+ version "0.9.8-rc.3"
+ resolved "https://registry.yarnpkg.com/lemmy-js-client/-/lemmy-js-client-0.9.8-rc.3.tgz#29973895a768f8fea7cb7acb7d2dd1ca81f6ac9c"
+ integrity sha512-68sLBsfwWLjhNXKg5CmGN5yobeeBG131kOZmP3GG4IYDRje5W84ryyi/KY4I/S6ZdG9s959FGau+QFg5iZTwEQ==
levn@^0.4.1:
version "0.4.1"