1
0
mirror of https://github.com/go-vikunja/app synced 2024-06-02 18:49:47 +00:00

fixed kanban and login views

This commit is contained in:
Benimautner 2022-08-28 01:27:55 +02:00
parent 83e6db9ad6
commit 9161e1fa12
2 changed files with 13 additions and 13 deletions

View File

@ -41,7 +41,7 @@ class Bucket {
createdBy = json['created_by'] == null createdBy = json['created_by'] == null
? null ? null
: User.fromJson(json['created_by']), : 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)) .map((task) => Task.fromJson(task))
.cast<Task>() .cast<Task>()
.toList(); .toList();

View File

@ -1,16 +1,16 @@
class Server { class Server {
bool caldavEnabled; bool? caldavEnabled;
bool emailRemindersEnabled; bool? emailRemindersEnabled;
String frontendUrl; String? frontendUrl;
bool linkSharingEnabled; bool? linkSharingEnabled;
String maxFileSize; String? maxFileSize;
String motd; String? motd;
bool registrationEnabled; bool? registrationEnabled;
bool taskAttachmentsEnabled; bool? taskAttachmentsEnabled;
bool taskCommentsEnabled; bool? taskCommentsEnabled;
bool totpEnabled; bool? totpEnabled;
bool userDeletion; bool? userDeletion;
String version; String? version;
Server.fromJson(Map<String, dynamic> json) Server.fromJson(Map<String, dynamic> json)
: :