mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-04 01:42:44 +00:00
Resolved remaining issues with ApiModel
This commit is contained in:
parent
89fef6d7f4
commit
9abee12658
8 changed files with 79 additions and 66 deletions
|
@ -19,25 +19,11 @@ Page {
|
|||
}
|
||||
}
|
||||
|
||||
Text {
|
||||
id: simpleLog
|
||||
text: "Simple log: \n"
|
||||
}
|
||||
|
||||
J.ItemModel {
|
||||
id: mediaLibraryModel
|
||||
loader: J.UsersViewLoader {
|
||||
id: mediaLibraryModelLoader
|
||||
apiClient: ApiClient
|
||||
onStatusChanged: {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
J.ModelStatusTest {
|
||||
status: J.ModelStatus.Uninitialized
|
||||
onStatusChanged: {
|
||||
simpleLog.text += new Date().toString() + ": " + status + "\n"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -58,7 +44,7 @@ Page {
|
|||
limit: 16
|
||||
}*/
|
||||
Label {
|
||||
text: model.name
|
||||
text: model.name ? model.name : "<Model without name>"
|
||||
}
|
||||
|
||||
ListView {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue