This commit is contained in:
parent
4906f1f45c
commit
1c3604c7fb
|
@ -157,7 +157,7 @@ export function useUploader(options: {
|
||||||
!item.uploaded
|
!item.uploaded
|
||||||
) {
|
) {
|
||||||
menu.push({
|
menu.push({
|
||||||
icon: 'ti ti-cursor-text',
|
icon: 'ti ti-forms',
|
||||||
text: i18n.ts.rename,
|
text: i18n.ts.rename,
|
||||||
action: async () => {
|
action: async () => {
|
||||||
const { result, canceled } = await os.inputText({
|
const { result, canceled } = await os.inputText({
|
||||||
|
@ -363,6 +363,7 @@ export function useUploader(options: {
|
||||||
}, {
|
}, {
|
||||||
icon: 'ti ti-x',
|
icon: 'ti ti-x',
|
||||||
text: i18n.ts.remove,
|
text: i18n.ts.remove,
|
||||||
|
danger: true,
|
||||||
action: () => {
|
action: () => {
|
||||||
removeItem(item);
|
removeItem(item);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue