Bug 24043: (QA follow-up) Fix another TypeError when retrieving status name

Test plan:
1) Apply first patch, and have the same requests as in previous patch
test plan
2) Load ill requests list
2a) You can see another TypeError in console
2b) You can notice, the Placed on and Updated on columns have prepended
another columns with unformatted dates and without header label
3) Apply this patch
4) Reload page (be sure it is not loaded from cache - Ctrl+F5)
5) Errors from 2a and 2b are gone

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 243e94598e)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Josef Moravec 2020-04-30 11:29:56 +00:00 committed by Lucas Gass
parent 2715cd95c0
commit 5872bc5a5b
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ $(document).ready(function() {
resolvedName = row.status_alias.lib;
} else {
resolvedName = getStatusName(
oData[0].capabilities[row.status].name,
row.capabilities[row.status].name,
row
);
}