Spaces:
Running
Running
Alejandro Cremades
commited on
Commit
•
0d47bf1
1
Parent(s):
df9758b
Bonus: show card search results as link buttons too
Browse files- streamlit_common/lib.py +1 -1
streamlit_common/lib.py
CHANGED
@@ -14,7 +14,7 @@ def row_to_link(row: pd.DataFrame) -> None:
|
|
14 |
cardname = row["name"]
|
15 |
if row.name_ja is not "":
|
16 |
cardname = f"{cardname} / {row.name_ja}"
|
17 |
-
st.
|
18 |
|
19 |
|
20 |
def row_to_button_link(row: pd.DataFrame) -> None:
|
|
|
14 |
cardname = row["name"]
|
15 |
if row.name_ja is not "":
|
16 |
cardname = f"{cardname} / {row.name_ja}"
|
17 |
+
st.link_button(cardname, row.link)
|
18 |
|
19 |
|
20 |
def row_to_button_link(row: pd.DataFrame) -> None:
|