Skip to content

Commit

Permalink
Merge pull request meshery#8937 from aabidsofi19/designer-bugfix
Browse files Browse the repository at this point in the history
Add a nullish check
  • Loading branch information
aabidsofi19 authored Sep 27, 2023
2 parents ef9d578 + 2d5211c commit b1b71fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/components/MesheryPatterns.js
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ function MesheryPatterns({
return (
user?.role_names?.includes('admin') ||
user?.user_id === 'meshery' ||
user?.user_id == pattern.user_id
user?.user_id == pattern?.user_id
);
};

Expand Down

0 comments on commit b1b71fc

Please sign in to comment.