DEV: do not return no_result_help from the server (#15220)

We don't need it anymore. Actually, I removed using of it on the client side a long time ago, when I was working on improving blank page syndrome on user activity pages (see https://github.com/discourse/discourse/pull/14311).

This PR also removes some old resource strings that we don't use anymore. We have new strings for blank pages.
This commit is contained in:
Andrei Prigorshnev
2021-12-08 18:46:54 +01:00
committed by GitHub
parent a6230b8138
commit 4e8983036a
6 changed files with 3 additions and 62 deletions

View File

@@ -16,8 +16,7 @@ class DraftsController < ApplicationController
)
render json: {
drafts: stream ? serialize_data(stream, DraftSerializer) : [],
no_results_help: I18n.t("user_activity.no_drafts.self")
drafts: stream ? serialize_data(stream, DraftSerializer) : []
}
end