Add account balance claims board with opt-in module and range settings.
EOF Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -549,7 +549,7 @@ function openCreateBoard() {
|
||||
}
|
||||
|
||||
function openEditBoard() {
|
||||
if (!currentBoard.value) return;
|
||||
if (!currentBoard.value || currentBoard.value.systemKey) return;
|
||||
boardMemberQuery.value = '';
|
||||
boardModal.value = {
|
||||
mode: 'edit',
|
||||
@@ -1562,7 +1562,12 @@ onUnmounted(() => {
|
||||
<UiIcon name="plus" :size="14" />
|
||||
گروه جدید
|
||||
</button>
|
||||
<button type="button" class="board-menu-action" @click="openEditBoard">
|
||||
<button
|
||||
v-if="!currentBoard?.systemKey"
|
||||
type="button"
|
||||
class="board-menu-action"
|
||||
@click="openEditBoard"
|
||||
>
|
||||
<UiIcon name="pencil" :size="14" />
|
||||
ویرایش این گروه
|
||||
</button>
|
||||
@@ -2111,7 +2116,7 @@ onUnmounted(() => {
|
||||
</li>
|
||||
</ul>
|
||||
<UiButton
|
||||
v-if="boardModal.mode === 'edit' && currentBoard && !currentBoard.isDefault"
|
||||
v-if="boardModal.mode === 'edit' && currentBoard && !currentBoard.isDefault && !currentBoard.systemKey"
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user