diff options
author | Derick Montague <derick.montague@ibm.com> | 2021-05-12 01:02:00 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2021-05-13 21:32:12 +0300 |
commit | f7cd5e03759a6ba259ecb7b2d2e4d5629ee884cd (patch) | |
tree | 6c71c3aa96205d877edfa9222ac53944ca6e335c /tests/unit | |
parent | 4904126c0b1d9a3aa6d8b4012a41d2b9e03e5ebc (diff) | |
download | webui-vue-f7cd5e03759a6ba259ecb7b2d2e4d5629ee884cd.tar.xz |
Add check for allowableActions in firmware store
Using optional chaining to test that TFTP is included in the
allowaableActions property to prevent an error being thrown if that
property is not present.
Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: If0009810aaf3b9abd23fcdc41606fbdbcf17a347
Diffstat (limited to 'tests/unit')
0 files changed, 0 insertions, 0 deletions