mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
faster split
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
This commit is contained in:
parent
447c0f45e5
commit
b8714b3864
1 changed files with 1 additions and 1 deletions
|
|
@ -392,7 +392,7 @@ class InstanceCardWidget(CardWidget):
|
|||
) -> str:
|
||||
sublabel = ""
|
||||
if folder_path:
|
||||
folder_name = folder_path.split("/")[-1]
|
||||
folder_name = folder_path.rsplit("/", 1)[-1]
|
||||
sublabel = f"- <b>{folder_name}</b>"
|
||||
if task_name:
|
||||
sublabel += f" - <i>{task_name}</i>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue