fix sync button
This commit is contained in:
@@ -23,22 +23,10 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<form
|
|
||||||
ref="form"
|
|
||||||
class="flex items-center"
|
|
||||||
@submit.prevent="upload({ path: uploadUrl })"
|
|
||||||
>
|
|
||||||
<input
|
|
||||||
:id="inputId"
|
|
||||||
ref="input"
|
|
||||||
:value="googleDriveFileId"
|
|
||||||
type="hidden"
|
|
||||||
name="google_drive_file_ids[]"
|
|
||||||
>
|
|
||||||
<button
|
<button
|
||||||
|
form="sync_form"
|
||||||
type="submit"
|
type="submit"
|
||||||
:disabled="isLoading"
|
:disabled="isLoading"
|
||||||
class="flex items-center w-full space-x-2"
|
|
||||||
>
|
>
|
||||||
<IconRefresh
|
<IconRefresh
|
||||||
class="w-4 h-4 flex-shrink-0"
|
class="w-4 h-4 flex-shrink-0"
|
||||||
@@ -46,9 +34,21 @@
|
|||||||
/>
|
/>
|
||||||
<span>{{ message }}</span>
|
<span>{{ message }}</span>
|
||||||
</button>
|
</button>
|
||||||
</form>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<form
|
||||||
|
id="sync_form"
|
||||||
|
ref="form"
|
||||||
|
class="hidden"
|
||||||
|
@submit.prevent="upload({ path: uploadUrl })"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
:id="inputId"
|
||||||
|
ref="input"
|
||||||
|
:value="googleDriveFileId"
|
||||||
|
name="google_drive_file_ids[]"
|
||||||
|
>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user