summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/lib/utils
diff options
context:
space:
mode:
authorRajat Jain <rjain@gitlab.com>2019-03-01 22:02:05 +0530
committerRajat Jain <rjain@gitlab.com>2019-03-04 23:19:37 +0530
commit68cdc30c2e5b5c68120c18fe2b623ad59a84d562 (patch)
tree9d3b7bbec72ff58b365150d07efd7417c6078858 /app/assets/javascripts/lib/utils
parent615c14b28990489d99371b7ffdb57fe54d463e64 (diff)
downloadgitlab-ce-68cdc30c2e5b5c68120c18fe2b623ad59a84d562.tar.gz
Display Recent Boards in Board switcher
Add a new Recent section in the board switcher along with a All section which like old times display all the available boards. Recent section lists the recent 5 boards you have visited for a quick switch.
Diffstat (limited to 'app/assets/javascripts/lib/utils')
-rw-r--r--app/assets/javascripts/lib/utils/http_status.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/lib/utils/http_status.js b/app/assets/javascripts/lib/utils/http_status.js
index 14c02218990..37ad1676f7a 100644
--- a/app/assets/javascripts/lib/utils/http_status.js
+++ b/app/assets/javascripts/lib/utils/http_status.js
@@ -16,6 +16,7 @@ const httpStatusCodes = {
IM_USED: 226,
MULTIPLE_CHOICES: 300,
BAD_REQUEST: 400,
+ UNAUTHORIZED: 401,
FORBIDDEN: 403,
NOT_FOUND: 404,
UNPROCESSABLE_ENTITY: 422,