Skip to content

Commit

Permalink
Merge pull request #142 from SpeciesFileGroup/development
Browse files Browse the repository at this point in the history
Update tracker report
  • Loading branch information
José Luis Pereira authored and GitHub committed Sep 14, 2023
2 parents dbce8da + 1685578 commit e26d04c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Layout/LayoutHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<SwitchTheme class="text-primary-content" />
</ClientOnly>
</div>
<div class="flex items-center ml-6 border-base-muted">
<div class="flex items-center ml-2 border-base-muted">
<TrackerReport icon />
</div>
</div>
Expand Down
13 changes: 9 additions & 4 deletions src/components/TrackerReport.global.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<template>
<VButton
<component
:is="tag"
type="button"
title="Report a problem"
class="flex gap-2 items-center"
:class="buttonClass"
@click="openTracker"
>
Expand All @@ -11,7 +11,7 @@
class="w-5 h-5"
/>
<span v-if="label">{{ label }}</span>
</VButton>
</component>
<VModal
v-if="isModalVisible"
class="text-base-content"
Expand Down Expand Up @@ -47,7 +47,7 @@ const TAXONPAGES_ISSUE_TRACKER =
defineProps({
buttonClass: {
type: String,
default: 'pl-0 pr-0 pt-0 pb-0'
default: undefined
},
label: {
Expand All @@ -58,6 +58,11 @@ defineProps({
icon: {
type: Boolean,
default: false
},
tag: {
type: String,
default: 'VButton'
}
})
Expand Down

0 comments on commit e26d04c

Please sign in to comment.