Skip to content

Commit

Permalink
fix file_info bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaelicke committed Jan 17, 2025
1 parent 9e0d0d7 commit 4318178
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h2 class="text-lg font-medium text-gray-700">Datasource</h2>
<h3 class="text-lg font-semibold text-gray-800">General</h3>

<div class="flex items-center space-x-12">
{% if file_hash is not none %}
{% if file_hash and file_info %}
<label for="datasource.path" class="text-sm font-medium text-gray-700">Uploaded File</label>
<input type="text" name="datasource.path" id="datasource.path" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500" value="{{file_info.filename}}" readonly>
<p class="text-sm text-gray-500 mt-1">
Expand Down

0 comments on commit 4318178

Please sign in to comment.