mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Tweak to check
This commit is contained in:
@@ -140,7 +140,7 @@ export default defineComponent({
|
||||
const component = computed<'a' | 'router-link' | 'button'>(() => {
|
||||
if (props.disabled) return 'button';
|
||||
if (notEmpty(props.href)) return 'a';
|
||||
if (notEmpty(props.to)) return 'router-link';
|
||||
if (props.to) return 'router-link';
|
||||
return 'button';
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user