-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Two user cards display for each userRole type. Edit icon visible. non…
…-functioning.
- Loading branch information
1 parent
cae0619
commit 0595286
Showing
3 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -200,6 +200,9 @@ class Datasource { | |
) | ||
) | ||
|
||
} | ||
init { | ||
|
||
// Adding Users to UserList | ||
userList.add( | ||
User( | ||
|
@@ -210,6 +213,24 @@ class Datasource { | |
userId = "1" | ||
) | ||
) | ||
userList.add( | ||
User( | ||
userFirstName = "Alex", | ||
userLastName = "Brown", | ||
userEmail = "[email protected]", | ||
UserRole.STANDARD, | ||
userId = "2" | ||
) | ||
) | ||
userList.add( | ||
User( | ||
userFirstName = "Jason", | ||
userLastName = "Ni", | ||
userEmail = "[email protected]", | ||
UserRole.ADMIN, | ||
userId = "3" | ||
) | ||
) | ||
} | ||
|
||
fun loadProducts(): List<Product> { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters