Skip to content

Commit 8036592

Browse files
committed
Replace spans with buttons for person and tag display in metadata form
1 parent e72f4e8 commit 8036592

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/metadata_form.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ pub fn VideoMetadataForm(
213213
class=class_string style="cursor: pointer;"
214214
>
215215

216-
<span class="pl-3 pr-1">{person_other.clone()}</span>
216+
<button style="cursor: pointer;" type="button">{person_other.clone()}</button>
217217
</div>
218218

219219

@@ -254,8 +254,7 @@ pub fn VideoMetadataForm(
254254
}
255255
class=class_string style="cursor: pointer;"
256256
>
257-
258-
<span class="pl-3 pr-1">{tag_other.clone()}</span>
257+
<button style="cursor: pointer;" type="button">{tag_other.clone()}</button>
259258
</div>
260259

261260

src/pages/search.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ pub async fn process_selected_media(ids: Vec<i32>) -> Result<(), ServerFnError>
148148
//copy files
149149
if let Ok(file_paths) = file_paths {
150150
let prepare_files =
151+
//TODO: Add config for destination
151152
copy_files_to_destination(&file_paths, "/mnt/nand/scratch/shoebox".to_string());
152153
if let Ok(prepare_files) = prepare_files {
153154
log!("Files prepared");

0 commit comments

Comments
 (0)