Compare commits

...

4 commits

Author SHA1 Message Date
JackDotJS
8b4e20f971
Merge 28c897ac3d into cb6296a96e 2024-11-15 18:30:24 +10:30
Paul Makles
cb6296a96e
chore: update languages submodule 2024-11-06 09:51:44 +00:00
Paul Makles
48a9d7d370
chore: update donation links 2024-11-06 09:51:35 +00:00
JackDotJS
28c897ac3d fix(settings): fixed inability to rename categories when they have blank names
Signed-off-by: JackDotJS <jackdotjs@proton.me>
2024-10-27 11:14:04 -07:00
5 changed files with 9 additions and 7 deletions

2
external/lang vendored

@ -1 +1 @@
Subproject commit 3195d642cd766cb62d34eb2a57ce3a09e775e91f Subproject commit 07f4343342c3d06a2b540db3bb14f598d745c09a

View file

@ -119,7 +119,7 @@ export default function UserBadges({ badges, uid }: Props) {
}} }}
onClick={() => { onClick={() => {
window.open( window.open(
"https://insrt.uk/donate", "https://wiki.revolt.chat/notes/project/financial-support/",
"_blank", "_blank",
); );
}} }}

View file

@ -51,7 +51,7 @@ export default observer(() => {
state.settings.set("appearance:seasonal", !seasonalTheme); state.settings.set("appearance:seasonal", !seasonalTheme);
const isDecember = !isTouchscreenDevice && new Date().getMonth() === 11; const isDecember = !isTouchscreenDevice && new Date().getMonth() === 11;
const isOctober = !isTouchscreenDevice && new Date().getMonth() === 9 const isOctober = !isTouchscreenDevice && new Date().getMonth() === 9;
const snowflakes = useMemo(() => { const snowflakes = useMemo(() => {
const flakes: string[] = []; const flakes: string[] = [];
@ -175,7 +175,7 @@ export default observer(() => {
</CategoryButton> </CategoryButton>
</Link> </Link>
<a <a
href="https://insrt.uk/donate" href="https://wiki.revolt.chat/notes/project/financial-support/"
target="_blank" target="_blank"
rel="noreferrer"> rel="noreferrer">
<CategoryButton <CategoryButton

View file

@ -281,7 +281,7 @@ export default observer(() => {
</ButtonItem> </ButtonItem>
</a> </a>
<a <a
href="https://insrt.uk/donate" href="https://wiki.revolt.chat/notes/project/financial-support/"
target="_blank" target="_blank"
rel="noreferrer"> rel="noreferrer">
<ButtonItem className={styles.donate} compact> <ButtonItem className={styles.donate} compact>

View file

@ -369,7 +369,9 @@ function ListElement({
<KanbanList last={false} key={category.id}> <KanbanList last={false} key={category.id}>
<div className="inner"> <div className="inner">
<Row> <Row>
<KanbanListHeader {...provided.dragHandleProps}> <KanbanListHeader
{...provided.dragHandleProps}
onClick={startEditing}>
{editing !== undefined ? ( {editing !== undefined ? (
<input <input
value={editing} value={editing}
@ -384,7 +386,7 @@ function ListElement({
id={category.id} id={category.id}
/> />
) : ( ) : (
<span onClick={startEditing}> <span>
{category.title} {category.title}
</span> </span>
)} )}