Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
shedaniel committed Aug 6, 2022
1 parent 2352f5a commit d06113f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ export default defineComponent({

<div class="absolute right-10 z-10">
<TransitionGroup name="list" tag="div">
<div v-for="notification in Object.keys(notifications)" @click="removeNotification(notification)"
<div v-for="notification in Object.keys(notifications)" @click="removeNotification(notification as unknown as number)"
class="toast mt-4 bg-base-100 p-5 shadow-2xl rounded-xl">
{{ notifications[notification].message }}
{{ notifications[notification as unknown as number].message }}
</div>
</TransitionGroup>
</div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/dependencies/CodeBlock.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<p class="mt-1" v-if="title != null">{{ title }}</p>
<p class="mt-1" v-if="title != undefined">{{ title }}</p>
<div class="rounded-lg bg-base-300 p-3 text-sm mt-2 mb-1">
<div class="flex">
<div class="flex-1">
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/routes/Dependencies.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
{{ dependency.name }}
<span class="hover:underline cursor-pointer" @click="copyAs(dependency.version)">{{ dependency.version }}</span>
</p>
<CodeBlock :title="null">dependencies {<br>
<CodeBlock :title="undefined">dependencies {<br>
<span>{{ " " }}</span>
<span class="hover:underline cursor-pointer" @click="copyAs(formatDependency(dependency.type, dependency.notation, false))">
{{ formatDependency(dependency.type, dependency.notation, false) }}
Expand Down

0 comments on commit d06113f

Please sign in to comment.