IEEE.org
|
IEEE Xplore Digital Library
|
IEEE Standards
|
IEEE Spectrum
|
More Sites
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Open at RIT
My Conservation Life
Conservation360
Commits
061d29f2
Unverified
Commit
061d29f2
authored
Jul 29, 2019
by
kmw6893
Committed by
GitHub
Jul 29, 2019
Browse files
changes for pull request
parent
994b2524
Changes
1
Hide whitespace changes
Inline
Side-by-side
salesforce/my-conservation-life/force-app/main/default/lwc/generateAssetCode/generateAssetCode.js
View file @
061d29f2
...
...
@@ -16,7 +16,7 @@ export default class GenerateAssetCode extends LightningElement {
// The code to be written down
// Also used for displaying messages in the input box
@
track
code
@
track
code
;
// A list of all Access_Code records in salesforce
@
wire
(
getListUi
,
{
...
...
@@ -48,9 +48,9 @@ export default class GenerateAssetCode extends LightningElement {
// Get all assets in the database
assets
.
find
().
then
(
assetObjects
=>
{
var
id
=
0
;
var
i
;
var
map
=
{};
let
id
=
0
;
let
i
;
let
map
=
{};
// Do not generate a new code if the existing access codes have not loaded
if
(
!
this
.
accessCodeObjects
)
throw
Error
(
'
Access_Codes failed to load.
'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment