Skip to content

Commit 224d40c

Browse files
authored
Merge pull request #67 from morenoh149/patch-1
Remove alert on missing values
2 parents 979370c + 7ac5f9b commit 224d40c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/albums/templates/albums/albums.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ <h4 class="bg-primary text-white p-2" style="margin: 15px;">Example using column
108108
{"data": "rank", "searchable": false},
109109
// Use dot notation to reference nested serializers.
110110
// This data: could alternatively be displayed with the serializer's ReadOnlyField as well, as seen in the minimal example.
111-
{"data": "artist.name", "name": "artist.name"},
111+
{"data": "artist.name", "name": "artist.name", defaultContent: "-"},
112112
{"data": "name"},
113113
{"data": "year"},
114114
{"data": "genres", "name": "genres.name", "sortable": false},

0 commit comments

Comments
 (0)