updated format code
This commit is contained in:
parent
b75d69ea08
commit
b14bad2249
241 changed files with 14012 additions and 13811 deletions
|
|
@ -81,7 +81,7 @@ const dateMonth = ref<DataDateMonthObject>({
|
|||
async function fetchCalendar() {
|
||||
showLoader();
|
||||
const defaultColor = "#e3fdda";
|
||||
const gradientColors = '#f7d0dd'
|
||||
const gradientColors = "#f7d0dd";
|
||||
|
||||
const events = await props.lists.map(
|
||||
(e: ExtendHistoryObject, index: number) => ({
|
||||
|
|
@ -91,9 +91,7 @@ async function fetchCalendar() {
|
|||
end: moment(e.dateEnd).format("YYYY-MM-DD") + " 23:59:59",
|
||||
allDay: false,
|
||||
color:
|
||||
props.lists.length > 1 && index > 0
|
||||
? gradientColors
|
||||
: defaultColor,
|
||||
props.lists.length > 1 && index > 0 ? gradientColors : defaultColor,
|
||||
})
|
||||
);
|
||||
calendarOptions.value.events = events;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue