mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-04-29 02:49:55 -05:00
feat: hide link share creation form by default in sharing dialogue (#1827)
The link share creation form is now hidden by default and only shown when users explicitly click the "Create" button. This reduces confusion in the sharing dialogue where users might mistake link sharing for team sharing. Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: kolaente <13721712+kolaente@users.noreply.github.com>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
<div class="sharables-project">
|
||||
<XButton
|
||||
v-if="!(linkShares.length === 0 || showNewForm)"
|
||||
v-if="!showNewForm"
|
||||
icon="plus"
|
||||
class="mbe-4"
|
||||
@click="showNewForm = true"
|
||||
@@ -21,7 +21,7 @@
|
||||
</XButton>
|
||||
|
||||
<div
|
||||
v-if="linkShares.length === 0 || showNewForm"
|
||||
v-if="showNewForm"
|
||||
class="p-4"
|
||||
>
|
||||
<div class="field">
|
||||
|
||||
Reference in New Issue
Block a user