mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 08:38:37 +00:00
feat: remove legacy role ranking
This commit is contained in:
@@ -229,26 +229,6 @@ export const Roles = observer(({ server }: Props) => {
|
|||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
|
||||||
<Category>
|
|
||||||
<Text id="app.settings.permissions.role_ranking" />
|
|
||||||
</Category>
|
|
||||||
<p>
|
|
||||||
<InputBox
|
|
||||||
type="number"
|
|
||||||
value={currentRoleValue.rank ?? 0}
|
|
||||||
onChange={(e) =>
|
|
||||||
setValue({
|
|
||||||
...value,
|
|
||||||
rank: parseInt(
|
|
||||||
e.currentTarget.value,
|
|
||||||
),
|
|
||||||
})
|
|
||||||
}
|
|
||||||
palette="secondary"
|
|
||||||
/>
|
|
||||||
</p>
|
|
||||||
</section>
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
<h1>
|
<h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user