added BillingAlertTriggeredNotification

This commit is contained in:
Čarodej
2022-03-16 10:37:55 +01:00
parent 60407f9dce
commit 9a6abbd6e8
4 changed files with 61 additions and 22 deletions

View File

@@ -13,6 +13,11 @@
size="22"
class="vue-feather text-theme shrink-0"
/>
<alert-triangle-icon
v-if="notification.data.attributes.category === 'billing-alert'"
size="22"
class="vue-feather text-theme shrink-0"
/>
<upload-cloud-icon
v-if="['file-request', 'remote-upload-done'].includes(notification.data.attributes.category)"
size="22"
@@ -74,7 +79,7 @@
</article>
</template>
<script>
import { GiftIcon, CheckIcon, XIcon, MailIcon, UserPlusIcon, UploadCloudIcon, ChevronRightIcon } from 'vue-feather-icons'
import { GiftIcon, CheckIcon, XIcon, MailIcon, UserPlusIcon, UploadCloudIcon, ChevronRightIcon, AlertTriangleIcon } from 'vue-feather-icons'
import MemberAvatar from '../FilesView/MemberAvatar'
import {events} from "../../bus";
@@ -83,6 +88,7 @@ export default {
props: ['notification'],
components: {
MemberAvatar,
AlertTriangleIcon,
ChevronRightIcon,
UploadCloudIcon,
UserPlusIcon,