diff --git a/client/src/api/index.ts b/client/src/api/index.ts index a32e076b84ff..0d17530014d2 100644 --- a/client/src/api/index.ts +++ b/client/src/api/index.ts @@ -228,5 +228,5 @@ export function userOwnsHistory(user: User | AnonymousUser | null, history: AnyH } function hasOwner(history: AnyHistory): history is HistorySummaryExtended { - return "user_id" in history; + return "user_id" in history && history.user_id !== null; } diff --git a/lib/galaxy/config/sample/datatypes_conf.xml.sample b/lib/galaxy/config/sample/datatypes_conf.xml.sample index 53bba60a3c52..96be00d60aa7 100644 --- a/lib/galaxy/config/sample/datatypes_conf.xml.sample +++ b/lib/galaxy/config/sample/datatypes_conf.xml.sample @@ -417,6 +417,8 @@ + +