Skip to content

Commit

Permalink
Merge pull request #29 from code-mancers/add-option-all
Browse files Browse the repository at this point in the history
Added option to purge all cache
  • Loading branch information
SujayPrabhu96 authored Jun 6, 2023
2 parents c142473 + 7814f44 commit 406afb6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion admin/src/components/ClearCache.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const ClearCache = () => {
};
useEffect(async () => {
const response = await getCollectionTypes();
setOptions(response.data);
setOptions(["all", ...response.data]);
}, []);

const handleAlertClose = () => setShowAlert(false);
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@code-mancers/strapi-plugin-stellate",
"private": false,
"version": "1.5.1",
"version": "1.5.2",
"repository": {
"type": "git",
"url": "git+https://github.com/code-mancers/strapi-plugin-stellate"
Expand All @@ -18,7 +18,7 @@
"axios": "^1.3.4"
},
"peerDependencies": {
"@strapi/strapi": "4.9.0"
"@strapi/strapi": "4.9.0"
},
"author": {
"name": "Syed Sibtain & Sujay Prabhu"
Expand Down

0 comments on commit 406afb6

Please sign in to comment.