mirror of
https://github.com/revoltchat/revite.git
synced 2025-02-25 09:41:01 -05:00
Compare commits
4 commits
478d375125
...
ac2beaf549
Author | SHA1 | Date | |
---|---|---|---|
|
ac2beaf549 | ||
|
bf951e59ee | ||
|
03f9f7673d | ||
|
28c897ac3d |
3 changed files with 6 additions and 4 deletions
|
@ -305,7 +305,7 @@ export default observer(({ channel }: Props) => {
|
||||||
if (!state.draft.has(channel._id)) {
|
if (!state.draft.has(channel._id)) {
|
||||||
setMessage(text);
|
setMessage(text);
|
||||||
} else {
|
} else {
|
||||||
setMessage(`${state.draft.get(channel._id)}\n${text}`);
|
setMessage(`${state.draft.get(channel._id)?.content}\n${text}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -259,7 +259,7 @@ export const Form = observer(({ page, callback }: Props) => {
|
||||||
<span>
|
<span>
|
||||||
<Text id="login.unofficial_instance" />{" "}
|
<Text id="login.unofficial_instance" />{" "}
|
||||||
<a
|
<a
|
||||||
href="https://developers.revolt.chat/faq/instances#what-is-a-third-party-instance"
|
href="https://developers.revolt.chat/faq.html"
|
||||||
style={{ color: "var(--accent)" }}
|
style={{ color: "var(--accent)" }}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer">
|
rel="noreferrer">
|
||||||
|
|
|
@ -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>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Add table
Reference in a new issue