diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-08 16:01:36 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-08 16:01:36 +1000 |
| commit | b0f857f0d1a1bec3d9c56a6e76d54932bfc6bf01 (patch) | |
| tree | fe3ede646c1a2f4f7abf3ba62cb3433113b35015 /src/services/updates.ts | |
| parent | dev: use typescript 5.7.3 to fix jsx type errors (diff) | |
| download | caelestia-shell-b0f857f0d1a1bec3d9c56a6e76d54932bfc6bf01.tar.gz caelestia-shell-b0f857f0d1a1bec3d9c56a6e76d54932bfc6bf01.tar.bz2 caelestia-shell-b0f857f0d1a1bec3d9c56a6e76d54932bfc6bf01.zip | |
feat: add navbar
For controlling sidebar panes + other stuff later
Diffstat (limited to 'src/services/updates.ts')
| -rw-r--r-- | src/services/updates.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/services/updates.ts b/src/services/updates.ts index b58609b..f8993c0 100644 --- a/src/services/updates.ts +++ b/src/services/updates.ts @@ -1,3 +1,4 @@ +import { capitalize } from "@/utils/strings"; import { execAsync, GLib, GObject, property, readFileAsync, register, writeFileAsync } from "astal"; import { updates as config } from "config"; @@ -124,7 +125,7 @@ export default class Updates extends GObject.Object { repo: await this.getRepo(r), updates: [], icon: this.getRepoIcon(r), - name: r[0].toUpperCase() + r.slice(1) + " repository", + name: capitalize(r) + " repository", })) ); |