kopia lustrzana https://github.com/nextcloud/social
Merge pull request #1649 from nextcloud/artonge/fix/disabled_state_of_submit_button
Fix condition to disable submit buttonpull/1641/head
commit
be519423ea
|
@ -110,7 +110,7 @@
|
|||
|
||||
<VisibilitySelect :type.sync="type" />
|
||||
<div class="emptySpace" />
|
||||
<SubmitStatusButton :type="type" :disabled="canPost || loading" @click="createPost" />
|
||||
<SubmitStatusButton :type="type" :disabled="!canPost || loading" @click="createPost" />
|
||||
|
||||
<!-- <NcButton :value="currentVisibilityPostLabel"
|
||||
:disabled="!canPost"
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
<template>
|
||||
<NcButton :value="currentVisibilityPostLabel"
|
||||
:disabled="!disabled"
|
||||
:disabled="disabled"
|
||||
native-type="submit"
|
||||
type="primary"
|
||||
@click.prevent="handleClick">
|
||||
|
|
Ładowanie…
Reference in New Issue