IO-3292 Add note pinning functionality.
This commit is contained in:
@@ -23,17 +23,22 @@ export function NoteUpsertModalComponent({ form, noteUpsertModal }) {
|
||||
return (
|
||||
<>
|
||||
<Row gutter={[16, 16]}>
|
||||
<Col span={8}>
|
||||
<Col span={6}>
|
||||
<Form.Item label={t("notes.fields.critical")} name="critical" valuePropName="checked">
|
||||
<Switch />
|
||||
</Form.Item>
|
||||
</Col>
|
||||
<Col span={8}>
|
||||
<Col span={6}>
|
||||
<Form.Item label={t("notes.fields.private")} name="private" valuePropName="checked">
|
||||
<Switch />
|
||||
</Form.Item>
|
||||
</Col>
|
||||
<Col span={8}>
|
||||
<Col span={6}>
|
||||
<Form.Item label={t("notes.fields.pinned")} name="pinned" valuePropName="checked">
|
||||
<Switch />
|
||||
</Form.Item>
|
||||
</Col>
|
||||
<Col span={6}>
|
||||
<Form.Item label={t("notes.fields.type")} name="type" initialValue="general">
|
||||
<Select
|
||||
options={[
|
||||
|
||||
Reference in New Issue
Block a user