[frontend/components] Move non-destructive drive file actions above destructive ones

This commit is contained in:
pancakes 2024-12-18 15:42:23 +10:00 committed by Laura Hausmann
parent 85ba75e608
commit f59bb86e24
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -43,6 +43,12 @@
}
<span>@File.Filename</span>
<Menu @ref="FileMenu">
<MenuElement Icon="Icons.ArrowSquareOut" OnSelect="OpenFile">
<Text>@Loc["Open"]</Text>
</MenuElement>
<MenuElement Icon="Icons.Share" OnSelect="CopyFileLink">
<Text>@Loc["Copy link"]</Text>
</MenuElement>
<MenuElement Icon="Icons.CursorText" OnSelect="RenameFile">
<Text>@Loc["Rename"]</Text>
</MenuElement>
@ -61,12 +67,6 @@
<MenuElement Icon="Icons.ClosedCaptioning" OnSelect="SetFileAltText">
<Text>@Loc["Set alt text"]</Text>
</MenuElement>
<MenuElement Icon="Icons.ArrowSquareOut" OnSelect="OpenFile">
<Text>@Loc["Open"]</Text>
</MenuElement>
<MenuElement Icon="Icons.Share" OnSelect="CopyFileLink">
<Text>@Loc["Copy link"]</Text>
</MenuElement>
<MenuElement Icon="Icons.Trash" OnSelect="DeleteFile">
<Text>@Loc["Delete"]</Text>
</MenuElement>