mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 12:02:05 +08:00
DEV: run files through prettier
2ae21e9 was prettiered using an old version of prettier. This re-applies it using latest.
This commit is contained in:
@ -59,10 +59,7 @@ export default Component.extend({
|
||||
showTitle: true,
|
||||
showFilteringUI: false,
|
||||
showDatesOptions: alias("model.dates_filtering"),
|
||||
showRefresh: or(
|
||||
"showDatesOptions",
|
||||
"model.available_filters.length"
|
||||
),
|
||||
showRefresh: or("showDatesOptions", "model.available_filters.length"),
|
||||
shouldDisplayTrend: and("showTrend", "model.prev_period"),
|
||||
|
||||
init() {
|
||||
@ -84,11 +81,7 @@ export default Component.extend({
|
||||
}
|
||||
},
|
||||
|
||||
showError: or(
|
||||
"showTimeoutError",
|
||||
"showExceptionError",
|
||||
"showNotFoundError"
|
||||
),
|
||||
showError: or("showTimeoutError", "showExceptionError", "showNotFoundError"),
|
||||
showNotFoundError: equal("model.error", "not_found"),
|
||||
showTimeoutError: equal("model.error", "timeout"),
|
||||
showExceptionError: equal("model.error", "exception"),
|
||||
|
Reference in New Issue
Block a user