Skip to content

Commit 2a2fbba

Browse files
committed
chore: Add an additional indentation to a code block
1 parent ab8da3a commit 2a2fbba

File tree

1 file changed

+49
-49
lines changed

1 file changed

+49
-49
lines changed

src/SpaceMenuItem.vue

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -33,55 +33,55 @@
3333
</NcCounterBubble>
3434
<MenuItemSelector />
3535
<div v-if="isOpen">
36-
<NcAppNavigationCaption
37-
ref="navigationGroup"
38-
:name="t('workspace', 'Workspace groups')">
39-
<template #actionsTriggerIcon>
40-
<Plus v-tooltip.right="t('workspace', 'Create a workspace group')" :name="t('workspace', 'Create a workspace group')" :size="20" />
41-
</template>
42-
<template #actions>
43-
<NcActionText :class="'space-text'">
44-
{{ t('workspace', 'Create a workspace group') }}
45-
</NcActionText>
46-
<NcActionInput v-show="true"
47-
ref="createGroupInput"
48-
:class="'ws-modal-action'"
49-
icon="icon-group"
50-
:close-after-click="true"
51-
:show-trailing-button="true"
52-
@submit="onNewWorkspaceGroup" />
53-
</template>
54-
</NcAppNavigationCaption>
55-
56-
<GroupMenuItem
57-
v-for="group in sortedGroups(Object.values(space.groups ?? []), spaceName)"
58-
:key="group.gid"
59-
:group="group"
60-
:count="group.usersCount"
61-
:space-id="space.id"
62-
:space-name="spaceName" />
63-
<NcAppNavigationCaption
64-
:name="t('workspace', 'Added groups')">
65-
<template #actions>
66-
<NcActionButton
67-
:aria-label="t('workspace', 'Add a group')"
68-
@click="toggleAddGroupModal">
69-
<template #icon>
70-
<Plus v-tooltip.right="t('workspace', 'Add a group')" :size="20" />
71-
</template>
72-
</NcActionButton>
73-
</template>
74-
</NcAppNavigationCaption>
75-
<SelectConnectedGroups v-if="isAddGroupModalOpen" :space="space" @close="toggleAddGroupModal" />
76-
<GroupMenuItem
77-
v-for="group in sortedGroups(Object.values(space.added_groups ?? []), spaceName)"
78-
:key="group.gid"
79-
:group="group"
80-
:space-id="space.id"
81-
:space-name="spaceName"
82-
:count="group.usersCount"
83-
:added-group="true" />
84-
</div>
36+
<NcAppNavigationCaption
37+
ref="navigationGroup"
38+
:name="t('workspace', 'Workspace groups')">
39+
<template #actionsTriggerIcon>
40+
<Plus v-tooltip.right="t('workspace', 'Create a workspace group')" :name="t('workspace', 'Create a workspace group')" :size="20" />
41+
</template>
42+
<template #actions>
43+
<NcActionText :class="'space-text'">
44+
{{ t('workspace', 'Create a workspace group') }}
45+
</NcActionText>
46+
<NcActionInput v-show="true"
47+
ref="createGroupInput"
48+
:class="'ws-modal-action'"
49+
icon="icon-group"
50+
:close-after-click="true"
51+
:show-trailing-button="true"
52+
@submit="onNewWorkspaceGroup" />
53+
</template>
54+
</NcAppNavigationCaption>
55+
56+
<GroupMenuItem
57+
v-for="group in sortedGroups(Object.values(space.groups ?? []), spaceName)"
58+
:key="group.gid"
59+
:group="group"
60+
:count="group.usersCount"
61+
:space-id="space.id"
62+
:space-name="spaceName" />
63+
<NcAppNavigationCaption
64+
:name="t('workspace', 'Added groups')">
65+
<template #actions>
66+
<NcActionButton
67+
:aria-label="t('workspace', 'Add a group')"
68+
@click="toggleAddGroupModal">
69+
<template #icon>
70+
<Plus v-tooltip.right="t('workspace', 'Add a group')" :size="20" />
71+
</template>
72+
</NcActionButton>
73+
</template>
74+
</NcAppNavigationCaption>
75+
<SelectConnectedGroups v-if="isAddGroupModalOpen" :space="space" @close="toggleAddGroupModal" />
76+
<GroupMenuItem
77+
v-for="group in sortedGroups(Object.values(space.added_groups ?? []), spaceName)"
78+
:key="group.gid"
79+
:group="group"
80+
:space-id="space.id"
81+
:space-name="spaceName"
82+
:count="group.usersCount"
83+
:added-group="true" />
84+
</div>
8585
</NcAppNavigationItem>
8686
</template>
8787

0 commit comments

Comments
 (0)