chore: hide issue properties if there are none (#1554)

This commit is contained in:
Aaryan Khandelwal 2023-07-18 18:47:28 +05:30 committed by GitHub
parent 9ba8f5c21f
commit fc92d7d1a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 25 additions and 26 deletions

View file

@ -72,7 +72,8 @@ const MyIssuesPage: NextPage = () => {
<h4 className="text-sm text-custom-text-200">Properties</h4>
<div className="flex flex-wrap items-center gap-2">
{Object.keys(properties).map((key) => {
if (key === "estimate") return null;
if (key === "estimate" || key === "created_on" || key === "updated_on")
return null;
return (
<button