dep:#64 updated frontend packages and fixed changes

This commit is contained in:
Elmar Kresse
2025-01-06 12:22:09 +01:00
parent 897ba2e7a4
commit d6e57a0494
9 changed files with 2396 additions and 1590 deletions

View File

@@ -17,7 +17,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<script lang="ts" setup>
import { computed, useSlots } from "vue";
import { computed, SetupContext, useSlots } from "vue";
defineProps<{
hideContent: boolean;
@@ -44,7 +44,7 @@ defineProps<{
};
}>();
const slots = useSlots();
const slots: SetupContext["slots"] = useSlots();
const hasSlot = (name: string) => {
return !!slots[name];
};

View File

@@ -56,13 +56,14 @@ function extractToken(token: string): string {
function loadCalendar(): void {
try {
token.value = extractToken(token.value);
} catch (e) {
} catch (error) {
toast.add({
severity: "error",
summary: t("editCalendarView.error"),
detail: t("editCalendarView.invalidToken"),
life: 3000,
});
console.error(error);
return;
}