Skip to content

Commit

Permalink
Merge pull request #10023 from nextcloud/bug/noid/object-to-array-phi…
Browse files Browse the repository at this point in the history
…shing

fix: use correct type for button, type for prop
  • Loading branch information
ChristophWurst authored Aug 20, 2024
2 parents 6fc45eb + 25b7595 commit 36f3ea6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/PhishingWarning.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<li>{{ warning.message }}</li>
</ul>
<div v-if="linkWarning !== undefined" class="warning__links">
<NcButton class="warning__links__button" type="Tertiary" @click="showMore = !showMore">
<NcButton class="warning__links__button" type="tertiary" @click="showMore = !showMore">
{{ showMore? t('mail','Hide suspicious links') :t('mail','Show suspicious links') }}
</NcButton>
<div v-if="showMore">
Expand All @@ -37,7 +37,7 @@ export default {
props: {
phishingData: {
required: true,
type: Object,
type: Array,
},
},
data() {
Expand Down

0 comments on commit 36f3ea6

Please sign in to comment.