Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev committed Jun 26, 2023
1 parent dd77c92 commit 6d37898
Show file tree
Hide file tree
Showing 6 changed files with 220 additions and 200 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"@tailwindcss/forms": "^0.5.3",
"@tailwindcss/line-clamp": "^0.4.4",
"@types/highlight.js": "^10.1.0",
"@types/node": "20.3.1",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"@types/node": "20.3.2",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"anser": "2.1.1",
"autoprefixer": "^10.4.14",
"axios": "^1.4.0",
Expand All @@ -44,7 +44,7 @@
"eslint-config-prettier": "8.8.0",
"express": "^4.18.2",
"highlight.js": "^11.8.0",
"hotkeys-js": "^3.10.2",
"hotkeys-js": "^3.10.3",
"humanize-duration": "^3.28.0",
"moment": "^2.29.4",
"moment-timezone": "^0.5.43",
Expand All @@ -70,13 +70,13 @@
"@vue/compiler-sfc": "3.3.4",
"electron": "25.2.0",
"electron-builder": "24.4.0",
"esbuild": "0.18.6",
"esbuild": "0.18.9",
"eslint": "^8.43.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^16.0.0",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.15.0",
"eslint-plugin-vue": "^9.15.1",
"postcss": "8.4.24",
"prettier": "2.8.8",
"tailwindcss": "3.3.2",
Expand Down
8 changes: 6 additions & 2 deletions src/renderer/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,12 @@ onMounted(() => {
});
window.ipcRenderer.on("app:render-all-saved-dumps", (event, content) => {
const payload = JSON.parse(content);
dispatch(payload.type, event, payload);
try {
const payload = JSON.parse(content);
dispatch(payload.type, event, payload);
} catch (e) {
console.log(e)
}
});
window.ipcRenderer.on("clear", () => clearAll());
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/AppGuide.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function nextRandom() {
@apply h-[200px] flex items-center justify-center relative;
}
.content {
.carousel .content {
@apply left-[15px] absolute w-full top-[28px];
}
Expand Down
8 changes: 6 additions & 2 deletions src/renderer/components/AppSettingsEnvironment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,10 @@
</li>
</ul>

<div class="hidden">
<div class="mt-40 border-t border-gray-200 space-y-3 dark:text-slate-400">
<div>
<div class="mt-40 border-t text-sm border-gray-200 space-y-3 dark:text-slate-400">
<div class="text-lg text-left mt-4 font-normal dark:text-slate-300">Reset data</div>
<p>This action will clear all data saved in LaraDumps as "Projects and Saved Dumps"</p>
</div>
<div class="flex justify-center mt-6">
<button
Expand Down Expand Up @@ -313,6 +314,9 @@ const cancel = (): void => {
const clearAllEnvironments = (): void => {
window.ipcRenderer.send("main:settings-clear-all-environment");
alert('Data deleted successfully!');
location.reload()
};
const saveEnvironment = async (): Promise<void> => {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/TheNavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<NavBarDarkButton />

<!-- setting -->
<NavBarSetting />
<NavBarSetting v-if="!inSavedDumpsWindow" />
</div>
</nav>
</div>
Expand Down
Loading

0 comments on commit 6d37898

Please sign in to comment.