Skip to content

Commit

Permalink
[ui] show applyLimitPerUniqueValue entries in queue criteria
Browse files Browse the repository at this point in the history
  • Loading branch information
alangenfeld committed Jun 13, 2024
1 parent 71cd9c9 commit 9c05e57
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
Tag,
Tooltip,
} from '@dagster-io/ui-components';
import isObject from 'lodash/isObject';
import * as React from 'react';
import {Link} from 'react-router-dom';
import * as yaml from 'yaml';
Expand Down Expand Up @@ -66,7 +67,10 @@ const QueuedRunCriteriaDialogContent = ({run}: {run: RunTableRunFragment}) => {
return limits.filter(
(limit) =>
limit.key in runTagMap &&
(limit.value === undefined || limit.value === runTagMap[limit.key]),
(limit.value === undefined ||
limit.value === runTagMap[limit.key] ||
// can be {"applyLimitPerUniqueValue": bool}
isObject(limit.value)),
);
} catch (err) {
return undefined;
Expand Down

0 comments on commit 9c05e57

Please sign in to comment.