mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
icons deprecations fixes (#6920)
This commit is contained in:
@ -19,7 +19,7 @@ export const TIMEFRAMES = [
|
||||
format: "h a",
|
||||
enabled: opts => opts.canScheduleToday,
|
||||
when: time => time.hour(18).minute(0),
|
||||
icon: "moon-o"
|
||||
icon: "far-moon"
|
||||
}),
|
||||
buildTimeframe({
|
||||
id: "tomorrow",
|
||||
@ -29,7 +29,7 @@ export const TIMEFRAMES = [
|
||||
.add(1, "day")
|
||||
.hour(timeOfDay)
|
||||
.minute(0),
|
||||
icon: "sun-o"
|
||||
icon: "far-sun"
|
||||
}),
|
||||
buildTimeframe({
|
||||
id: "later_this_week",
|
||||
@ -139,12 +139,12 @@ export const TIMEFRAMES = [
|
||||
}),
|
||||
buildTimeframe({
|
||||
id: "pick_date_and_time",
|
||||
icon: "calendar-plus-o"
|
||||
icon: "far-calendar-plus"
|
||||
}),
|
||||
buildTimeframe({
|
||||
id: "set_based_on_last_post",
|
||||
enabled: opts => opts.includeBasedOnLastPost,
|
||||
icon: "clock-o"
|
||||
icon: "far-clock"
|
||||
})
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user