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 0ba4d86c9a
commit 281145853e

View file

@ -467,7 +467,7 @@ function stopQuestionMarkPropagation(e: KeyboardEvent) {
<CommonDropdown placement="bottom"> <CommonDropdown placement="bottom">
<CommonTooltip placement="top" :content="$t('tooltip.schedule_post')" no-auto-focus> <CommonTooltip placement="top" :content="$t('tooltip.schedule_post')" no-auto-focus>
<button btn-action-icon :aria-label="$t('tooltip.schedule_post')"> <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> </button>
</CommonTooltip> </CommonTooltip>
<template #popper> <template #popper>