diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8915c39dd..7dc183627 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,6 +6,9 @@ updates: interval: daily open-pull-requests-limit: 99 groups: + eslint-bundle: + patterns: ["*eslint*"] + update-types: ["patch", "minor", "major"] dev-dependencies: dependency-type: "development" patterns: ["*"] diff --git a/client/admin/admin.less b/client/admin/admin.less index e66ead5e3..9fc52d40f 100644 --- a/client/admin/admin.less +++ b/client/admin/admin.less @@ -107,14 +107,14 @@ body { } th, td { + max-width : 50ch; padding : 5px 10px; + overflow : hidden; + text-overflow : ellipsis; vertical-align : middle; text-align : center; + white-space : nowrap; border-right : 1px solid; - max-width:50ch; - overflow:hidden; - text-overflow: ellipsis; - white-space: nowrap; &:last-child { border-right : none; } } diff --git a/client/admin/brewUtils/brewCleanup/brewCleanup.jsx b/client/admin/brewUtils/brewCleanup/brewCleanup.jsx index 7d6c34f55..cceb961f2 100644 --- a/client/admin/brewUtils/brewCleanup/brewCleanup.jsx +++ b/client/admin/brewUtils/brewCleanup/brewCleanup.jsx @@ -10,7 +10,7 @@ const BrewCleanup = ({})=>{ const [error, setError] = useState(null); const find = async (type)=>{ - + if(type === 'junk') try { setPendingJunk(true); @@ -109,18 +109,18 @@ const BrewCleanup = ({})=>{ {Moment(brew.updatedAt).fromNow()} {brew.lastViewed ? Moment(brew.lastViewed).fromNow() : 'No last viewed date'} {brew.googleId ? 'Google' : 'Homebrewery'} - + ; })} ; }; const renderFound = (type)=>{ - const deleteButton = !(type === 'junk' && junkBrewCollection.length === 0 || type === 'lost' && lostBrewCollection.length === 0); + const deleteButton = !(type === 'junk' && junkBrewCollection.length === 0 || type === 'lost' && lostBrewCollection.length === 0); return
{deleteButton &&