fix(ui): Fix crash when viewing an invalid certificate (#43681)

* fix: remove empty object literal creation causing #43224

* fix: initialize userByName selector using empty object from initialState to keep the same reference instead

* fix(lang): added translation for invalid certificate
This commit is contained in:
Lim Shang Yi
2021-10-07 03:05:05 +08:00
committed by GitHub
parent 7824f13f5f
commit df8dc9b9c6
4 changed files with 13 additions and 4 deletions

View File

@@ -0,0 +1,6 @@
const certificateMissingErrorMessage = {
type: 'danger',
message: 'flash.certificate-missing'
};
export default certificateMissingErrorMessage;