Compareware/src/components
ryan 9beb997125 feat(item_list): update save_item_to_db function to take current_url as an argument.
Changes:

* Replaced `let current_url = get_current_url();` with `let current_url = Rc::new(get_current_url());` to share the current URL between closures.
* Wrapped `add_property` and `update_item` functions in Arc to share them between closures.
* Updated `save_item_to_db` function to take `current_url` as an argument and use it to construct the ItemToSend struct.
* Updated `fetch_property_labels` function to use the `property_ids` vector instead of a single property ID.
* Updated `fetch_item_properties` function to use the `wikidata_id` parameter instead of a hardcoded value.
* Updated `WikidataResponse` struct to use a `Vec<WikidataSuggestion>` instead of a single `WikidataSuggestion`.
2025-02-18 20:01:45 +03:00
..
editable_cell.rs feat(editable cells): add support for multiple input types in EditableCell component 2025-01-10 20:56:25 +03:00
items_list.rs feat(item_list): update save_item_to_db function to take current_url as an argument. 2025-02-18 20:01:45 +03:00
mod.rs build(files): remove unused item_form.rs and wikidata_lookup.rs files 2025-02-06 22:19:42 +03:00