Skip to content

Commit cf4617d

Browse files
grv-saini-20sosweetham
authored andcommitted
fix: user role based edit in group info
1 parent be3ec6f commit cf4617d

File tree

1 file changed

+6
-8
lines changed
  • platforms/pictique/src/routes/(protected)/group/[id]

1 file changed

+6
-8
lines changed

platforms/pictique/src/routes/(protected)/group/[id]/+page.svelte

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,12 @@
116116
>
117117
View Members
118118
</Button>
119-
{#if canEdit}
120-
<button
121-
onclick={() => (openEditDialog = true)}
122-
class="border border-brand-burnt-orange-900 rounded-full p-2"
123-
>
124-
<Settings size="24px" color="var(--color-brand-burnt-orange)" />
125-
</button>
126-
{/if}
119+
<button
120+
onclick={() => (openEditDialog = true)}
121+
class="border border-brand-burnt-orange-900 rounded-full p-2"
122+
>
123+
<Settings size="24px" color="var(--color-brand-burnt-orange)" />
124+
</button>
127125
</div>
128126
</section>
129127

0 commit comments

Comments
 (0)