Skip to content

Commit

Permalink
fix: repos wrong names (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlienard authored Nov 12, 2023
1 parent 2f28375 commit 917a733
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/dashboard/sidebar/WatchedRepos.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
const repo = previous.splice(index, 1)[0];
return [...previous, { ...repo, number: repo.number + 1 }];
}
const [name, ownerName] = current.repository.namespace.split('/');
const [ownerName, name] = current.repository.namespace.split('/');
return [
...previous,
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
: [{ ...defaultRepo }];
let saveDisabled: boolean | null | undefined = null;
$: addDisabled = repos.length >= 10;
$: addDisabled = repos.length >= 15;
$: if (saveDisabled === null) {
saveDisabled = undefined;
Expand Down

0 comments on commit 917a733

Please sign in to comment.