Merge "Revert "Allow gadget/browser extension extensibility of empty search state""

This commit is contained in:
jenkins-bot 2024-08-27 17:59:27 +00:00 committed by Gerrit Code Review
commit c0332419e4
2 changed files with 0 additions and 8 deletions

View file

@ -27,7 +27,6 @@
@blur="onBlur"
>
<template #default>
<div ref="emptyState">empty</div>
<input
type="hidden"
name="title"
@ -186,7 +185,6 @@ module.exports = exports = defineComponent( {
restClient.fetchByTitle( query, 10, this.showDescription ),
true
);
this.$refs.emptyState.innerHTML = '';
},
/**
@ -272,9 +270,6 @@ module.exports = exports = defineComponent( {
this.disableTransitions = false;
} );
}
if ( this.$refs.emptyState ) {
mw.hook( 'search.display' ).fire( this.$refs.emptyState );
}
}
} );
</script>

View file

@ -18,9 +18,6 @@ exports[`App renders a typeahead search component 1`] = `
show-thumbnail="true"
title="search"
>
<div>
empty
</div>
<input
name="title"
type="hidden"