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

This commit is contained in:
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

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)"