feat: colorize schedule icon when schedule time is set

This commit is contained in:
TAKAHASHI Shuuji 2024-03-01 03:05:04 +09:00
parent 4ba756946c
commit e58a6e8b62
No known key found for this signature in database
GPG key ID: F15C887632129F5E

View file

@ -461,7 +461,7 @@ function stopQuestionMarkPropagation(e: KeyboardEvent) {
<CommonDropdown placement="bottom">
<CommonTooltip placement="top" :content="$t('tooltip.schedule_post')" no-auto-focus>
<button btn-action-icon :aria-label="$t('tooltip.schedule_post')">
<div i-ri:calendar-schedule-line />
<div i-ri:calendar-schedule-line :class="scheduleDateTime !== '' ? 'text-primary' : ''" />
</button>
</CommonTooltip>
<template #popper>