Compare commits
5
Commits
v0.1.0-rc0
...
v0.1.0-rc2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
429c022ec9
|
||
|
|
e469fc4e86
|
||
|
|
864c2d2450
|
||
|
|
1e26376ad4
|
||
|
|
1b5db32c33
|
No files matched your search
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "frontend",
|
||||
"version": "1.0.0",
|
||||
"version": "0.1.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "frontend",
|
||||
"version": "1.0.0",
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"pinia": "^3.0.4",
|
||||
"pinia-plugin-persistedstate": "^4.7.1",
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "frontend",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@@ -89,7 +89,7 @@ const { t } = useI18n();
|
||||
transform: scale(1.02);
|
||||
}
|
||||
100% {
|
||||
opacity: 100;
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,9 +38,8 @@ const activePath = computed(() => {
|
||||
const activeSection = ref(null);
|
||||
const updateSettings = async function updateSettings() {
|
||||
const setting = getSettingRecursively(activePath.value, settings);
|
||||
if (setting) {
|
||||
activeSection.value = setting;
|
||||
} else {
|
||||
activeSection.value = setting;
|
||||
if (!setting) {
|
||||
await router.push('/settings');
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user