feat: add tooltip to change content visibility dropdown (#170)

zio/stable
Guillaume Chau 2022-11-27 13:43:04 +01:00 committed by GitHub
parent 62221e6e54
commit 6acc838850
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 20 deletions

View File

@ -232,6 +232,7 @@ onUnmounted(() => {
</button> </button>
</CommonTooltip> </CommonTooltip>
<CommonTooltip placement="bottom" content="Change content visibility">
<CommonDropdown> <CommonDropdown>
<button btn-action-icon w-12> <button btn-action-icon w-12>
<div :class="currentVisibility.icon" /> <div :class="currentVisibility.icon" />
@ -253,6 +254,8 @@ onUnmounted(() => {
</CommonDropdownItem> </CommonDropdownItem>
</template> </template>
</CommonDropdown> </CommonDropdown>
</CommonTooltip>
<button <button
btn-solid rounded-full text-sm btn-solid rounded-full text-sm
:disabled="!isExistDraft || isUploading || (draft.attachments.length === 0 && !draft.params.status)" :disabled="!isExistDraft || isUploading || (draft.attachments.length === 0 && !draft.params.status)"