Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
orig committed Nov 21, 2023
1 parent 922062e commit 9bcebfe
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 13 deletions.
2 changes: 1 addition & 1 deletion apps/backend/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"ci": true,
"codeCoverage": true
}
},
}
// "dependsOn": [
// {
// "dependencies": true,
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/core/entity.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export abstract class EntityService<Entity> {
Object.assign(FILTER_CLAUSE, { OR: filterBuilder(this.filterFields, filter) });
}

console.log(extraWhereClause)
console.log(extraWhereClause);
Object.entries(extraWhereClause || {}).forEach(([key, value]) => {
if (value) {
Object.assign(FILTER_CLAUSE, { [key]: value });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export const TemporaryLinks = component$(() => {

return (
<>
<QrCodeDialog link={{key: interactedLink.value?.key!}} />
<QrCodeDialog link={{ key: interactedLink.value?.key! }} />
<div class="mx-auto w-full max-w-md px-2.5 sm:px-0 mb-8">
<label class="label">
<span class="label-text text-red-400">{createTempLink.value?.message}</span>
Expand Down
11 changes: 2 additions & 9 deletions apps/frontend/src/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ input::-ms-clear {
--outline-border-color: 233, 5%, 33%;
--w-bg: 0 0% 100%;
/* Skeleton bg */
--skeleton-bg: 70 74% 50%
--skeleton-bg: 70 74% 50%;
/* Theme switcher shadow */
--ts-bg: 222 47% 11% / 0.9;
--handleoffset: 1.5rem;
Expand All @@ -52,12 +52,5 @@ input::-ms-clear {

/* Override skeleton background in dark mode */
.dark .skeleton {
background-image: linear-gradient(
105deg,
transparent 0%,
transparent 40%,
#647182,
transparent 60%,
transparent 100%
) !important;
background-image: linear-gradient(105deg, transparent 0%, transparent 40%, #647182, transparent 60%, transparent 100%) !important;
}
2 changes: 1 addition & 1 deletion apps/frontend/src/routes/dashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default component$(() => {

return (
<>
<LinkModal onSubmitHandler={refetch}/>
<LinkModal onSubmitHandler={refetch} />
<div class="shadow-[0_8px_30px_rgb(0,0,0,0.12)] rounded-xl w-full p-5">
<TableServerPagination endpoint={`${process.env.CLIENTSIDE_API_DOMAIN}/api/v1/links`} columns={columns} refetch={refetchSignal}>
<button class="btn btn-primary" onClick$={() => (document.getElementById(LINK_MODAL_ID) as any).showModal()}>
Expand Down

0 comments on commit 9bcebfe

Please sign in to comment.