fixed kanban and login views
This commit is contained in:
parent
83e6db9ad6
commit
9161e1fa12
|
@ -41,7 +41,7 @@ class Bucket {
|
|||
createdBy = json['created_by'] == null
|
||||
? null
|
||||
: User.fromJson(json['created_by']),
|
||||
tasks = (json['tasks'] as List<dynamic>)
|
||||
tasks = (((json['tasks'] == null) ? [] : json['tasks']) as List<dynamic>)
|
||||
.map((task) => Task.fromJson(task))
|
||||
.cast<Task>()
|
||||
.toList();
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
class Server {
|
||||
bool caldavEnabled;
|
||||
bool emailRemindersEnabled;
|
||||
String frontendUrl;
|
||||
bool linkSharingEnabled;
|
||||
String maxFileSize;
|
||||
String motd;
|
||||
bool registrationEnabled;
|
||||
bool taskAttachmentsEnabled;
|
||||
bool taskCommentsEnabled;
|
||||
bool totpEnabled;
|
||||
bool userDeletion;
|
||||
String version;
|
||||
bool? caldavEnabled;
|
||||
bool? emailRemindersEnabled;
|
||||
String? frontendUrl;
|
||||
bool? linkSharingEnabled;
|
||||
String? maxFileSize;
|
||||
String? motd;
|
||||
bool? registrationEnabled;
|
||||
bool? taskAttachmentsEnabled;
|
||||
bool? taskCommentsEnabled;
|
||||
bool? totpEnabled;
|
||||
bool? userDeletion;
|
||||
String? version;
|
||||
|
||||
Server.fromJson(Map<String, dynamic> json)
|
||||
:
|
||||
|
|
Loading…
Reference in New Issue