2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-09-13 14:31:22 +00:00

Add support for company attachments (#261)

* Add support for company attachments

- Add API version check
- Add new class
- Add link to company detail page
- Assorted refactoring

* linting fixes
This commit is contained in:
Oliver
2023-02-16 22:50:32 +11:00
committed by GitHub
parent c7527e8b4e
commit 9485d858eb
8 changed files with 102 additions and 35 deletions

View File

@@ -134,7 +134,6 @@ class _AttachmentWidgetState extends RefreshableState<AttachmentWidget> {
widget.attachment.REFERENCE_FIELD: widget.referenceId.toString()
}
).then((var results) {
attachments.clear();
for (var result in results) {