fix: share button not working on canvas (#3770)
🔧 (utils.py): refactor import statement to get version info from utils module instead of version module 🔧 (index.tsx): add dataTestId attribute to submit button in ShareModal component for testing purposes ✨ (generalBugs-shard-13.spec.ts): add end-to-end test to verify sharing a flow on the Langflow Store via modal interaction
This commit is contained in:
parent
0ded882b74
commit
2652f44d31
3 changed files with 92 additions and 3 deletions
|
|
@ -85,9 +85,9 @@ def get_is_component_from_data(data: dict):
|
|||
|
||||
|
||||
async def check_langflow_version(component: StoreComponentCreate):
|
||||
from langflow.version import get_version
|
||||
from langflow.utils.version import get_version_info
|
||||
|
||||
__version__ = get_version()
|
||||
__version__ = get_version_info()["version"]
|
||||
|
||||
if not component.last_tested_version:
|
||||
component.last_tested_version = __version__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue